UNPKG

2.74 kBJSONView Raw
1{
2 "name": "flat-cache",
3 "version": "3.0.4",
4 "description": "A stupidly simple key/value storage using files to persist some data",
5 "repository": "royriojas/flat-cache",
6 "license": "MIT",
7 "author": {
8 "name": "Roy Riojas",
9 "url": "http://royriojas.com"
10 },
11 "main": "src/cache.js",
12 "files": [
13 "src/cache.js",
14 "src/del.js",
15 "src/utils.js"
16 ],
17 "engines": {
18 "node": "^10.12.0 || >=12.0.0"
19 },
20 "precommit": [
21 "npm run verify --silent"
22 ],
23 "prepush": [
24 "npm run verify --silent"
25 ],
26 "scripts": {
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"
44 },
45 "keywords": [
46 "json cache",
47 "simple cache",
48 "file cache",
49 "key par",
50 "key value",
51 "cache"
52 ],
53 "changelogx": {
54 "ignoreRegExp": [
55 "BLD: Release",
56 "DOC: Generate Changelog",
57 "Generated Changelog"
58 ],
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"
64 },
65 "devDependencies": {
66 "chai": "^4.2.0",
67 "changelogx": "^5.0.6",
68 "eslint": "^7.13.0",
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",
73 "istanbul": "^0.4.5",
74 "mocha": "^8.2.1",
75 "precommit": "^1.2.2",
76 "prepush": "^3.1.11",
77 "prettier": "^2.1.2",
78 "watch-run": "^1.2.5"
79 },
80 "dependencies": {
81 "flatted": "^3.1.0",
82 "rimraf": "^3.0.2"
83 }
84}