-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
88 lines (88 loc) · 3.01 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
{
"name": "crowdsec-http-middleware",
"version": "0.0.8",
"description": "HTTP server middleware that can act as a crowdsec bouncer/watcher",
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"type": "module",
"homepage": "https://github.com/thib3113/node-crowdsec/tree/main/packages/crowdsec-http-middleware#readme",
"scripts": {
"prepack": "npm run build",
"version": "npm run build",
"preversion": "git update-index --really-refresh && git diff-index --quiet HEAD || (echo git is not clean && exit 1)",
"postversion": "pnpm run generate-tag",
"generate-tag": "git commit -am \"bump version of ${npm_package_name} to v${npm_package_version}\" && git tag -a ${npm_package_name}/v${npm_package_version} -m \"${npm_package_name}/v${npm_package_version}\"",
"ts-types": "tsc --emitDeclarationOnly --outDir lib/types",
"build": "rimraf lib && node ./esbuild.js && npm run ts-types",
"debug": "npm run build && node -r source-map-support/register ./lib/esm/debug.mjs",
"jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:ci": "npm run jest -- --ci",
"test:ci:coverage": "npm run jest -- --ci --coverage",
"lint": "eslint -f unix \"src/**\"",
"lint:fix": "npm lint -- --fix",
"ci:eslint": "npm run lint -- -f json -o ./coverage/eslint-report.json"
},
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.mjs"
},
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
},
"default": "./lib/index.cjs"
}
},
"bugs": {
"url": "https://github.com/thib3113/node-crowdsec/issues?labels=crowdsec-http-middleware"
},
"author": {
"email": "[email protected]",
"name": "Thibaut severac"
},
"repository": {
"type": "git",
"url": "https://github.com/thib3113/node-crowdsec.git"
},
"keywords": [
"crowdsec",
"firewall",
"security"
],
"license": "ISC",
"dependencies": {
"crowdsec-client": "workspace:^",
"debug": "^4.3.7",
"ip-address": "^10.0.1",
"lru-cache": "^11.0.1"
},
"engines": {
"node": ">=16"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/debug": "4.1.12",
"crowdsec-client-scenarios": "workspace:^",
"dotenv": "16.4.5",
"esbuild": "0.24.0",
"jest": "29.7.0",
"jest-sonar": "0.2.16",
"rimraf": "6.0.1",
"source-map-support": "0.5.21",
"ts-jest": "29.2.5",
"ts-node": "10.9.2"
},
"funding": [
{
"type": "github",
"url": "https://github.com/thib3113/node-crowdsec"
},
{
"type": "individual",
"url": "https://paypal.me/thib3113"
}
]
}