-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
63 lines (63 loc) · 1.48 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
{
"name": "koa-simple-ratelimit",
"version": "2.4.1",
"description": "Simple Rate limiter middleware for koa v2",
"repository": "scttcper/koa-simple-ratelimit",
"author": "Scott Cooper <scttcper@gmail.com>",
"license": "MIT",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"koa",
"middleware",
"ratelimiter",
"ratelimit",
"rate"
],
"scripts": {
"lint": "eslint --ext .ts .",
"lint:fix": "eslint --fix --ext .ts .",
"prepare": "npm run build",
"build": "tsc -p tsconfig.build.json",
"test": "jest --runInBand",
"test:watch": "jest --watch --runInBand",
"test:ci": "jest --ci --runInBand --reporters=default --reporters=jest-junit --coverage"
},
"dependencies": {
"debug": "^4.3.2",
"ms": "^2.1.3"
},
"devDependencies": {
"@ctrl/eslint-config": "2.1.1",
"@jest/globals": "27.2.4",
"@types/debug": "4.1.7",
"@types/ioredis": "4.27.5",
"@types/koa": "2.13.4",
"@types/ms": "0.7.31",
"@types/node": "16.10.2",
"@types/redis": "2.8.32",
"@types/supertest": "2.0.11",
"delay": "5.0.0",
"ioredis": "4.27.9",
"jest": "27.2.4",
"jest-junit": "12.3.0",
"koa": "2.13.3",
"redis": "3.1.2",
"supertest": "6.1.6",
"ts-jest": "27.0.5",
"typescript": "4.4.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"release": {
"branch": "master"
},
"engines": {
"node": ">=10"
}
}