-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
92 lines (92 loc) · 2.26 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
{
"name": "rate-limit-memcached",
"version": "1.0.1",
"description": "A memcached store for the express-rate-limit middleware.",
"author": "linyows",
"license": "MIT",
"homepage": "https://github.com/express-rate-limit/rate-limit-memcached",
"repository": "express-rate-limit/rate-limit-memcached",
"keywords": [
"express",
"api",
"memcached",
"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": "jest",
"test": "run-s lint test:lib",
"pre-commit": "lint-staged",
"prepare": "run-s compile && husky install config/husky"
},
"dependencies": {
"@types/memcached": "2.2.7",
"memcached": "2.2.2"
},
"devDependencies": {
"@express-rate-limit/prettier": "1.1.0",
"@express-rate-limit/tsconfig": "1.0.0",
"@jest/globals": "29.7.0",
"@types/jest": "29.5.4",
"@types/node": "20.6.1",
"cross-env": "7.0.3",
"del-cli": "5.1.0",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "14.0.1",
"memcached-mock": "0.1.0",
"npm-run-all": "4.1.5",
"pkgroll": "1.11.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"tsx": "3.12.10",
"typescript": "5.2.2",
"xo": "0.56.0"
},
"peerDependencies": {
"express-rate-limit": ">= 6"
},
"xo": {
"prettier": true
},
"prettier": "@express-rate-limit/prettier",
"lint-staged": {
"{source,test}/**/*.ts": "xo --fix",
"**/*.{json,yaml,md}": "prettier --write "
}
}