forked from BitMEX/node-redis-token-bucket-ratelimiter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.03 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
{
"name": "redis-token-bucket-ratelimiter",
"version": "0.5.1",
"description": "Rolling rate limit in redis via a lua script",
"main": "rollingLimit.js",
"engines": {
"node": ">= 8"
},
"directories": {
"test": "test/"
},
"devDependencies": {
"eslint": "^7.25.0",
"flow-bin": "^0.149.0",
"ioredis": "^4.27.1",
"mocha": "^8.3.2",
"pre-commit": "^1.2.2",
"redis": "^3.1.2",
"sinon": "^10.0.0"
},
"scripts": {
"test": "mocha test/test-ioredis.js test/test-node-redis.js",
"test-cluster": "mocha test/test-cluster.js",
"build": "node ./build/hashLua.js ./lua/rollingLimit.lua",
"lint": "eslint .",
"flow": "flow"
},
"repository": {
"type": "git",
"url": "[email protected]:BitMEX/node-redis-token-bucket-ratelimiter.git"
},
"keywords": [
"node",
"redis",
"rate-limit",
"limit",
"token bucket"
],
"license": "MIT",
"readmeFilename": "README.md",
"dependencies": {},
"pre-commit": [
"build",
"lint",
"test",
"flow"
]
}