-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
99 lines (99 loc) · 3.45 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
{
"name": "@acpr/rate-limit-postgresql",
"version": "1.4.1",
"description": "A PostgreSQL store for the `express-rate-limit` middleware",
"homepage": "https://github.com/express-rate-limit/rate-limit-postgresql",
"repository": "https://github.com/express-rate-limit/rate-limit-postgresql",
"author": {
"name": "Adrian C. Prelipcean"
},
"license": "MIT",
"files": [
"dist/**/*"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"exports": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"scripts": {
"test": "ts-mocha src/**/*.spec.ts",
"clean": "rm -rf ./dist",
"build": "npm run clean && pkgroll --src source/ && cp source/migrations/ dist/ -r && npm run mjs-fix-prepend",
"lint": "prettier --check .",
"lint-autofix": "prettier --write .",
"prepack": "npm run build",
"prepare": "husky install",
"generate-dev-licenses": "./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --limitAttributes licenses,repository,publisher,email --json --development > third_party_licenses/dev_detailed.json && ./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --summary --development > third_party_licenses/dev_summary.txt",
"generate-production-licenses": "./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --limitAttributes licenses,repository,publisher,email --json --production > third_party_licenses/production_detailed.json && ./node_modules/license-checker-rseidelsohn/bin/license-checker-rseidelsohn --summary --production > third_party_licenses/production_summary.txt",
"generate-licenses": "npm run generate-dev-licenses && npm run generate-production-licenses",
"mjs-fix-prepend": "printf '%s\\n%s\\n' \"import { dirname } from 'path'\nimport { fileURLToPath } from 'url';\nconst __dirname = dirname(fileURLToPath(import.meta.url));\n\" \"$(cat dist/index.mjs)\" > dist/index.mjs"
},
"keywords": [
"express-rate-limit",
"express-rate-limit-postgresql",
"express-rate-limit-postgres",
"express",
"rate",
"limit",
"ratelimit",
"rate-limit",
"middleware",
"ip",
"auth",
"authorization",
"security",
"brute",
"force",
"bruteforce",
"brute-force",
"attack",
"postgresql",
"postgres"
],
"peerDependencies": {
"express-rate-limit": ">=6.0.0"
},
"dependencies": {
"@types/pg-pool": "2.0.3",
"pg": "8.11.3",
"pg-pool": "3.6.1",
"postgres-migrations": "5.3.0"
},
"devDependencies": {
"@express-rate-limit/prettier": "1.1.1",
"@express-rate-limit/tsconfig": "1.0.2",
"@types/chai": "4.3.6",
"@types/express": "4.17.17",
"@types/mocha": "10.0.1",
"@types/sinon": "10.0.16",
"chai": "4.3.8",
"express-rate-limit": "7.4.0",
"global-jsdom": "9.1.0",
"husky": "8.0.3",
"license-checker-rseidelsohn": "4.2.7",
"lint-staged": "15.2.10",
"mocha": "10.8.2",
"pkgroll": "2.5.0",
"prettier": "3.0.3",
"sinon": "16.0.0",
"ts-mocha": "10.0.0",
"ts-node": "10.9.1",
"typescript": "5.2.2"
},
"prettier": "@express-rate-limit/prettier",
"lint-staged": {
"*.md": "prettier --write",
"source/**/*.ts": "prettier --write",
"test/**/*.ts": "prettier --write",
"package.json": "npm run generate-licenses"
}
}