4 "description": "A stupidly simple key/value storage using files to persist some data",
5 "repository": "royriojas/flat-cache",
9 "url": "http://royriojas.com"
11 "main": "src/cache.js",
18 "node": "^10.12.0 || >=12.0.0"
21 "npm run verify --silent"
24 "npm run verify --silent"
27 "eslint": "eslint --cache --cache-location=node_modules/.cache/ ./src/**/*.js ./test/**/*.js",
28 "eslint-fix": "npm run eslint -- --fix",
29 "autofix": "npm run eslint-fix",
30 "check": "npm run eslint",
31 "verify": "npm run eslint && npm run test:cache",
32 "install-hooks": "prepush install && changelogx install-hook && precommit install",
33 "changelog": "changelogx -f markdown -o ./changelog.md",
34 "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
35 "pre-v": "npm run verify",
36 "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
37 "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
38 "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
39 "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v",
40 "test:cache": "mocha -R spec test/specs",
41 "test": "npm run verify --silent",
42 "cover": "istanbul cover test/runner.js html text-summary",
43 "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary"
56 "DOC: Generate Changelog",
59 "issueIDRegExp": "#(\\d+)",
60 "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}",
61 "authorURL": "https://github.com/{0}",
62 "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}",
63 "projectName": "flat-cache"
67 "changelogx": "^5.0.6",
69 "eslint-config-prettier": "^6.15.0",
70 "eslint-plugin-mocha": "^8.0.0",
71 "eslint-plugin-prettier": "^3.1.4",
72 "glob-expand": "^0.2.1",
75 "precommit": "^1.2.2",