-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.24 KB
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
{
"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": "xo",
"format": "xo --fix",
"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.10",
"memcached": "2.2.2"
},
"devDependencies": {
"@express-rate-limit/prettier": "1.1.1",
"@express-rate-limit/tsconfig": "1.0.5",
"@jest/globals": "30.4.1",
"@types/jest": "30.0.0",
"@types/node": "26.2.0",
"cross-env": "10.1.0",
"del-cli": "7.0.0",
"eslint-config-prettier": "10.1.8",
"husky": "9.1.7",
"jest": "30.4.2",
"lint-staged": "17.3.0",
"memcached-mock": "0.1.0",
"npm-run-all": "4.1.5",
"pkgroll": "2.27.1",
"prettier": "^3.0.0",
"ts-jest": "29.4.12",
"ts-node": "10.9.2",
"tsx": "4.23.11",
"typescript": "6.0.3",
"xo": "4.0.0"
},
"peerDependencies": {
"express-rate-limit": ">= 6"
},
"xo": {
"prettier": true,
"rules": {
"require-unicode-regexp": "off"
}
},
"prettier": "@express-rate-limit/prettier",
"lint-staged": {
"{source,test}/**/*.ts": "xo --fix",
"**/*.{json,yaml,md}": "prettier --write "
}
}