-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.69 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
{
"name": "@ruguoapp/cache",
"version": "0.5.0",
"description": "Modern high performance cache for Node.js",
"main": "dist/src/index.js",
"scripts": {
"compile": "tsc",
"clean": "rm -rf dist",
"lint": "eslint --ext .ts ./ --fix",
"ci": "jest --verbose --forceExit --detectOpenHandles",
"purge": "rm -rf package-lock.json node_modules && npm run clean",
"format": "prettier --config .prettierrc --write '**/*'",
"test": "npm run lint && NODE_ENV=dev npm run ci",
"prepublish": "npm run build",
"build": "npm run clean && npm run compile",
"bench": "ts-node benchmark/bench.ts"
},
"keywords": [
"cache",
"redis"
],
"author": "",
"license": "ISC",
"dependencies": {
"ioredis": "^4.16.0",
"lodash": "^4.17.15",
"memoizee": "^0.4.14",
"quick-lru": "^5.0.0"
},
"devDependencies": {
"@types/ioredis": "^4.14.8",
"@types/jest": "^25.1.3",
"@types/lodash": "4.14.149",
"@types/memoizee": "^0.4.3",
"@types/node": "13.7.7",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-airbnb-typescript": "^7.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"typescript": "^3.8.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*": [
"npm run format",
"git add"
]
}
}