-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.32 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "pure-cache",
"version": "1.0.6",
"description": "Cache with confidence 🎉 Ultra fast in-memory JavaScript cache with near realtime cache expiry feature ⚡",
"main": "dist/pure-cache.js",
"module": "dist/pure-cache.es.js",
"browser": "dist/pure-cache.umd.js",
"repository": {
"type": "git",
"url": "https://github.com/ganapativs/pure-cache.git"
},
"author": "Ganapati V S <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ganapativs/pure-cache/issues"
},
"homepage": "https://github.com/ganapativs/pure-cache",
"keywords": [
"cache",
"ultra fast",
"speed",
"browser",
"node"
],
"scripts": {
"prebuild": "rm -rf dist && mkdir -p dist",
"build": "NODE_ENV=production rollup -c",
"lint": "eslint ./src ./test --ext .js",
"pretest": "yarn run lint",
"test": "NODE_ENV=test mocha --require @babel/register ./test/**/*.js",
"posttest": "yarn run size",
"jsdoc": "mkdir -p docs && jsdoc2md src/pureCache.js > docs/pureCache.md && jsdoc2md src/inMemoryExpirer.js > docs/inMemoryExpirer.md",
"prepublishOnly": "yarn run test && yarn run jsdoc",
"size": "size-limit"
},
"husky": {
"hooks": {
"pre-commit": "yarn build && yarn run jsdoc && git add dist docs"
}
},
"size-limit": [
{
"limit": "1.3 KB",
"path": "dist/pure-cache.js"
}
],
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/register": "^7.14.5",
"@size-limit/preset-small-lib": "^5.0.1",
"babel-eslint": "^10.1.0",
"chai": "^4.3.4",
"eslint": "^7.30.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"jsdoc-to-markdown": "^7.0.1",
"mocha": "^9.0.2",
"prettier": "^2.3.2",
"rollup": "^2.52.7",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-uglify": "^6.0.4",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"size-limit": "^5.0.1"
},
"dependencies": {
"mitt": "^3.0.0"
}
}