-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
74 lines (74 loc) · 2.25 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
{
"name": "@nrk/nodecache-as-promised",
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/nrkno/nodecache-as-promised/issues"
},
"homepage": "https://github.com/nrkno/nodecache-as-promised#readme",
"version": "2.0.1",
"description": "NodeJs in-memory cache with Promise support. Extendable with middlewares. Middlewares provided: Distributed invalidation and persistence of cache misses",
"main": "lib/index.js",
"scripts": {
"build": "babel src --out-dir lib ",
"build:watch": "babel src --watch --source-maps --out-dir lib",
"test:unit": "mocha --recursive --require @babel/register ./src",
"test:watch": "mocha -w --recursive ./src",
"test": "npm run test:coverage",
"test:coverage": "nyc --reporter=lcov npm run test:unit",
"test:perf": "npm run build && npm run perf:nocache ; npm run perf:nocache-cache-file ; npm run perf:cache ; npm run perf:cache-cluster",
"perf:nocache-cache-file": "node test/nocache-cache-file.js",
"perf:nocache": "node test/nocache.js",
"perf:cache": "node test/cache.js",
"perf:cache-cluster": "node test/cache-cluster.js",
"format": "prettier --write './{src,test}/**/*.{js,json}'",
"lint": "eslint './{src,test}/**/*.js'",
"prepublishOnly": "npm run build",
"postpublish": "rm -rf lib",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "[email protected]:nrkno/nodecache-as-promised.git"
},
"dependencies": {
"lodash": "^4.17.21",
"lru-cache": "^5.1.1",
"rxjs": "^6.6.7"
},
"devDependencies": {
"@babel/cli": "7.22.10",
"@babel/core": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/register": "7.22.5",
"babel-eslint": "10.1.0",
"chalk": "5.3.0",
"eslint": "8.47.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-prettier": "4.2.1",
"expect.js": "^0.3.1",
"husky": "^8.0.3",
"lint-staged": "13.3.0",
"mocha": "10.2.0",
"nyc": "15.1.0",
"prettier": "2.8.8",
"sinon": "15.2.0",
"yargs": "17.7.2"
},
"nyc": {
"exclude": [
"**/_spec/**"
],
"include": [
"src/**"
]
},
"engines": {
"node": ">=12.2",
"npm": ">=5.x"
},
"volta": {
"node": "18.12.1",
"npm": "8.19.2"
}
}