-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 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
75
76
{
"name": "@acuris/leprechaun-cache",
"version": "0.1.0",
"private": false,
"description": "Caching library that supports double checked caching and stale returns to avoid stampede and slow responses",
"keywords": [
"acuris",
"cache",
"redis",
"stale",
"leprechaun-cache"
],
"license": "MIT",
"homepage": "https://github.com/mergermarket/leprechaun-cache#readme",
"repository": {
"repository": "git",
"url": "https://github.com/mergermarket/leprechaun-cache.git"
},
"engines": {
"node": ">=20.15.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc --sourceMap",
"test": "ts-mocha --recursive \"./test/unit/**/*.spec.ts\"",
"test:integration": "docker run -d -p 6379:6379 --name leprechaun-redis redis && ts-mocha --recursive \"./test/integration/**/*.spec.ts\"; docker stop leprechaun-redis; docker rm leprechaun-redis",
"test:integration-nodocker": "ts-mocha --recursive \"./test/integration/**/*.spec.ts\"",
"acuris-eslint": "npx acuris-eslint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,json,ts,tsx}": [
"acuris-eslint --lint-staged --fix --max-warnings=0",
"git add"
]
},
"dependencies": {
"redis": "^4.7.0",
"uuid": "^3.3.3"
},
"devDependencies": {
"@acuris/eslint-config": "^0.0.48",
"@types/chai": "^4.2.5",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.8",
"@types/sinon-chai": "^3.2.3",
"@types/uuid": "^3.4.6",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"chai": "^4.2.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.6.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-chai-expect": "^2.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-json": "^2.0.1",
"eslint-plugin-mocha": "^6.2.1",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-scope": "^5.0.0",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"mocha": "^6.2.2",
"prettier": "^1.19.1",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"ts-mocha": "^6.0.0",
"typescript": "^3.7.2"
}
}