forked from dex4er/js-sliding-window-rate-limiter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.17 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
{
"name": "sliding-window-rate-limiter",
"version": "1.0.1",
"description": "Sliding window rate limiter with Redis 3.2 backend",
"main": "lib/sliding-window-rate-limiter.js",
"typings": "lib/sliding-window-rate-limiter.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/dex4er/js-sliding-window-rate-limiter"
},
"keywords": [
"limiter",
"rate",
"redis",
"rolling",
"sliding"
],
"author": "Piotr Roszatycki",
"license": "MIT",
"bugs": {
"url": "https://github.com/dex4er/js-sliding-window-rate-limiter/issues"
},
"homepage": "http://github.com/dex4er/js-sliding-window-rate-limiter",
"engines": {
"node": ">=6.0.0"
},
"dependencies": {
"ioredis": "^4.0.0-3",
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/chai-as-promised": "^7.1.0",
"@types/delay": "^2.0.1",
"@types/ioredis": "3.2.13",
"@types/mocha": "^5.2.5",
"@types/uuid": "^3.4.3",
"bluebird": "^3.5.1",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"delay": "^3.0.0",
"eslint-config-standard": "^12.0.0-alpha.0",
"luamin": "^1.0.4",
"markdownlint-cli": "^0.12.0",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"rimraf": "^2.6.2",
"standard": "^11.0.1",
"ts-node": "^7.0.0",
"tslint": "^5.11.0",
"tslint-config-standard": "^7.1.0",
"typescript": "^3.0.1",
"uuid": "^3.3.2"
},
"scripts": {
"build": "tsc --pretty && npm run minify",
"clean": "rimraf lib",
"minify": "luamin -f src/sliding-window-rate-limiter.lua > lib/sliding-window-rate-limiter.min.lua || luamin -f src/sliding-window-rate-limiter.lua",
"prepublishOnly": "npm run build",
"pretest": "npm run build && eslint . && tslint -t stylish -p . && markdownlint \"*.md\"",
"test": "npm run test:api",
"test:api": "npm run ts-mocha -- \"test/*.ts\"",
"test:coverage": "nyc --reporter json npm run test:api && nyc report",
"ts-mocha": "mocha --use_strict --throw-deprecation --require source-map-support/register --require ts-node/register --timeout 90000"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts"
]
}
}