-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
61 lines (61 loc) · 1.41 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
{
"name": "redis-gcra",
"version": "0.5.2",
"description": "Rate limiting based on Generic Cell Rate Algorithm",
"main": "lib/index.js",
"types": "index.d.ts",
"homepage": "https://github.com/Losant/redis-gcra#readme",
"author": "Losant <[email protected]>",
"license": "MIT",
"keywords": [
"GCRA",
"redis",
"limit",
"throttle"
],
"bugs": {
"url": "https://github.com/Losant/redis-gcra/issues"
},
"directories": {
"test": "./test",
"example": "./examples",
"lib": "./lib"
},
"engines": {
"node": ">=14"
},
"scripts": {
"lint": "esw . --ext .js",
"lint:fix": "yarn lint --fix",
"lint:watch": "yarn lint --watch",
"lint:changed": "lint-staged",
"test": "mocha test 2>&1",
"test:watch": "mocha --watch test 2>&1",
"reinstall": "rm -rf node_modules && yarn install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Losant/redis-gcra.git"
},
"lint-staged": {
"*.js": "esw"
},
"devDependencies": {
"@losant/eslint-config-losant": "^1.6.1",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"mocha": "^10.7.3",
"should": "^13.2.3",
"ioredis": ">=4.0.0 <6.0.0",
"redis": ">=4.1.0 <5.0.0"
},
"eslintConfig": {
"extends": "@losant/eslint-config-losant/env/node"
},
"mocha": {
"reporter": "spec",
"recursive": true,
"require": "should",
"check-leaks": true
}
}