-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 839 Bytes
/
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
{
"name": "rate-limiter-typescript",
"version": "0.1.0",
"description": "A simple rate-limiter, e.g. to protect APIs from being flooded.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"pretest": "npm run build",
"test": "mocha --exit --recursive out/test/**/test-*.js",
"precover": "npm run build",
"cover": "nyc npm test",
"dist": "tsc --outFile dist/index.js"
},
"keywords": [
"rate-limiting",
"rate limiting",
"token bucket"
],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/chai": "^4.2.16",
"@types/mocha": "^8.2.2",
"chai": "^4.3.4",
"mocha": "^8.3.2",
"nyc": "^15.1.0",
"typescript": "^4.2.4"
},
"nyc": {
"reporter": [
"lcov",
"text-summary"
]
}
}