-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
71 lines (71 loc) · 1.76 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
{
"name": "fastify-slow-down",
"version": "2.0.1",
"description": "A slow down plugin for fastify",
"main": "index.js",
"type": "module",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"lib"
],
"scripts": {
"redis": "docker run -p 6379:6379 --name rate-limit-redis -d --rm redis",
"lint": "eslint .",
"run:example": "node example/basic.js",
"redis:example": "node example/basic-redis.js",
"test": "npm run test:unit && npm run test:types",
"test:unit": "c8 --100 tap --jobs=2 --no-coverage test/*.test.js",
"test:types": "tsd",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nearform/fastify-slow-down.git"
},
"keywords": [
"fastify",
"slow down"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/nearform/fastify-slow-down/issues"
},
"homepage": "https://github.com/nearform/fastify-slow-down#readme",
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@fastify/rate-limit": "^10.1.1",
"@sinonjs/fake-timers": "^11.0.0",
"c8": "^10.0.0",
"eslint": "^8.23.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "5.2.1",
"fastify": "^5.0.0",
"husky": "^9.0.11",
"ioredis": "^5.2.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"sinon": "^19.0.2",
"tap": "^16.0.0",
"tsd": "^0.31.0"
},
"tsd": {
"directory": "test/types"
},
"lint-staged": {
"*.{js,jsx}": "eslint --cache --fix"
},
"peerDependencies": {
"fastify": "5.x"
},
"dependencies": {
"fastify-plugin": "^5.0.1",
"ms": "^2.1.3",
"on-finished": "^2.4.1",
"tiny-lru": "^11.0.0",
"undici": "^6.2.1"
}
}