-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.06 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 3.06 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
94
{
"name": "@crowdsec/nodejs-bouncer",
"version": "0.2.0",
"description": "CrowdSec NodeJS Bouncer. Composed of a behavior detection engine, able to block classical attacks like credential bruteforce, port scans, web scans, etc. Based on the type and number of blocked attacks, and after curation of those signals to avoid false positives and poisoning, a global IP reputation DB is maintained and shared with all network members. This npm module is a “bouncer”, which purpose is to block detected attacks with two remediation systems: ban or challenge detected attackers with a Captcha.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"CHANGELOG.md"
],
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && npm install && tsup --config tsup.config.ts",
"build:types": "tsc --emitDeclarationOnly --declaration --declarationMap false --outDir dist",
"prepack": "npm run build",
"lint": "eslint .",
"lint:all": "npm run lint && npm run prettify-check",
"prettify": "prettier --plugin=prettier-plugin-ejs --write .",
"prettify-check": "prettier --check .",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/crowdsecurity/nodejs-cs-bouncer.git"
},
"keywords": [
"crowdsec",
"bouncer",
"js",
"nodejs",
"remediation-component",
"captcha",
"firewall",
"security"
],
"author": "CrowdSec Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/crowdsecurity/nodejs-cs-bouncer/issues"
},
"homepage": "https://github.com/crowdsecurity/nodejs-cs-bouncer#readme",
"dependencies": {
"@tailwindcss/postcss": "^4.1.12",
"ip-address": "^10.0.0",
"keyv": "^5.3.4",
"lodash": "^4.17.21",
"pino": "^9.4.0",
"postcss": "^8.5.6",
"svg-captcha-fixed": "^1.5.2",
"tailwindcss": "^4.1.12"
},
"devDependencies": {
"@eslint/compat": "^1.2.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.10",
"@types/node": "^20.19.8",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-no-relative-import-paths": "^1.5.5",
"eslint-plugin-prefer-arrow-functions": "^3.4.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.11.0",
"jest": "^30.0.4",
"nock": "^14.0.0-beta.4",
"prettier": "^3.3.3",
"prettier-plugin-ejs": "^1.0.3",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsup": "^8.3.0",
"tsx": "^4.19.3",
"typescript": "^5.6.3"
},
"sideEffects": false,
"engines": {
"node": ">=20"
}
}