-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
103 lines (103 loc) · 2.67 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
102
103
{
"name": "@express-rate-limit/cluster-memory-store",
"version": "0.3.1",
"description": "A memory store for the express-rate-limit middleware for use with node:cluster.",
"author": "linyows",
"license": "MIT",
"homepage": "https://github.com/express-rate-limit/cluster-memory-store",
"repository": "express-rate-limit/cluster-memory-store",
"keywords": [
"express",
"api",
"cluster",
"rate-limit"
],
"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 *.bak *.tgz",
"build": "pkgroll --target=es2020 --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": "tsx test/realtime-e2e-test.ts",
"test": "run-s lint test:*",
"pre-commit": "lint-staged",
"prepare": "run-s compile && husky install config/husky"
},
"dependencies": {
"@types/debug": "4.1.12",
"debug": "4.3.4"
},
"devDependencies": {
"@express-rate-limit/prettier": "1.1.0",
"@express-rate-limit/tsconfig": "1.0.0",
"@types/express": "4.17.18",
"@types/node": "20.6.1",
"cross-env": "7.0.3",
"del-cli": "5.1.0",
"express": "4.18.2",
"husky": "8.0.3",
"lint-staged": "14.0.1",
"node-fetch": "3.3.2",
"npm-run-all": "4.1.5",
"pkgroll": "1.11.0",
"tsx": "3.12.10",
"typescript": "5.2.2",
"xo": "0.56.0"
},
"peerDependencies": {
"express-rate-limit": ">= 6"
},
"xo": {
"prettier": true,
"overrides": [
{
"files": "test/**/*.ts",
"rules": {
"@typescript-eslint/no-unsafe-argument": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-return": 0,
"import/extensions": 0,
"unicorn/prevent-abbreviations": 0,
"no-promise-executor-return": 0
}
}
]
},
"prettier": "@express-rate-limit/prettier",
"lint-staged": {
"{source,test}/**/*.ts": "xo --fix",
"**/*.{json,yaml,md}": "prettier --write "
}
}