-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.05 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
{
"name": "async-redis-rate-limiter",
"description": "Rate-limiter in Node.js, powered by Redis.",
"version": "1.0.4",
"license": "Apache-2.0",
"author": "Waveful",
"homepage": "https://github.com/Waveful/async-redis-rate-limiter",
"repository": {
"type": "git",
"url": "https://github.com/Waveful/async-redis-rate-limiter.git"
},
"bugs": {
"url": "https://github.com/Waveful/async-redis-rate-limiter/issues"
},
"type": "commonjs",
"engines": {
"node": ">=14.17.0"
},
"main": "build/index.js",
"files": [
"build/**/*"
],
"scripts": {
"build": "rm -rf build && tsc --project .",
"prepare": "npm run build",
"preversion": "npm run lint && npm run test",
"version": "git add -A src",
"postversion": "git push && git push --tags",
"lint": "eslint .",
"start-background-redis": "chmod +x ./.scripts/start-background-redis-server.sh && sh ./.scripts/start-background-redis-server.sh",
"test": "chmod +x ./.scripts/exec-tests.sh && sh ./.scripts/exec-tests.sh",
"coverage": "nyc --reporter=lcov --reporter=text npm run test",
"stop-redis": "killall redis-server",
"create-patch-version": "npm version patch && npm publish",
"create-minor-version": "npm version minor && npm publish",
"create-major-version": "npm version major && npm publish"
},
"dependencies": {
"redis": "^4.0.4"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.22",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"custom-uuid": "^2.2.3",
"eslint": "^8.11.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-security": "^1.4.0",
"mocha": "^9.2.2",
"nyc": "^15.1.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.2"
},
"keywords": [
"rate limiter",
"rate limit",
"throttle",
"limiting"
]
}