-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
101 lines (101 loc) · 2.62 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "rate-limit-redis",
"version": "4.2.0",
"description": "A Redis store for the `express-rate-limit` middleware",
"author": {
"name": "Wyatt Johnson",
"url": "https://github.com/wyattjoh"
},
"license": "MIT",
"homepage": "https://github.com/express-rate-limit/rate-limit-redis",
"repository": "https://github.com/express-rate-limit/rate-limit-redis",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"tsconfig.json",
"package.json",
"readme.md",
"license.md",
"changelog.md"
],
"engines": {
"node": ">= 16"
},
"scripts": {
"clean": "del-cli dist/ coverage/ *.log *.tmp *.tgz *.bak",
"build": "pkgroll --src source/",
"compile": "run-s clean build",
"lint:code": "xo",
"lint:rest": "prettier --check .",
"lint": "run-s lint:*",
"format:code": "xo --fix",
"format:rest": "prettier --write .",
"format": "run-s format:*",
"test:lib": "jest",
"test": "run-s lint test:*",
"pre-commit": "lint-staged",
"prepare": "run-s compile && husky install config/husky"
},
"peerDependencies": {
"express-rate-limit": ">= 6"
},
"devDependencies": {
"@express-rate-limit/prettier": "1.1.0",
"@express-rate-limit/tsconfig": "1.0.0",
"@jest/globals": "29.7.0",
"@types/express": "4.17.17",
"@types/ioredis-mock": "8.2.2",
"@types/jest": "29.5.4",
"@types/node": "20.6.1",
"cross-env": "7.0.3",
"del-cli": "5.1.0",
"dts-bundle-generator": "8.0.1",
"esbuild": "0.19.3",
"express": "4.21.1",
"express-rate-limit": "7.0.0",
"husky": "8.0.3",
"ioredis": "5.3.2",
"ioredis-mock": "8.8.3",
"jest": "29.7.0",
"lint-staged": "14.0.1",
"npm-run-all": "4.1.5",
"pkgroll": "2.5.0",
"prettier": "3.0.3",
"serve": "14.2.1",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.2.2",
"xo": "0.56.0"
},
"xo": {
"prettier": true,
"rules": {
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-confusing-void-expression": 0,
"@typescript-eslint/consistent-indexed-object-style": [
"error",
"index-signature"
]
}
},
"prettier": "@express-rate-limit/prettier",
"lint-staged": {
"{source,test}/**/*.ts": "xo --fix",
"*.{yaml,json,md}": "prettier --write"
}
}