-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.92 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
{
"name": "crowdsec-client",
"version": "1.0.0",
"description": "A Crowdsec client that allow you to easily create bouncer or 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-client#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",
"generate-api": "node --loader ts-node/esm generator.ts",
"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 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-client"
},
"author": {
"email": "thib3113@gmail.com",
"name": "Thibaut severac"
},
"repository": {
"type": "git",
"url": "https://github.com/thib3113/node-crowdsec.git"
},
"keywords": [
"crowdsec",
"firewall",
"security"
],
"license": "MIT",
"dependencies": {
"axios": "^1.17.0",
"debug": "^4.4.3"
},
"engines": {
"node": ">=24"
},
"devDependencies": {
"@jest/globals": "30.4.1",
"@types/debug": "4.1.13",
"dotenv": "17.4.2",
"esbuild": "0.28.1",
"jest": "30.4.2",
"rimraf": "6.1.3",
"source-map-support": "0.5.21",
"swagger-typescript-api": "13.12.1",
"ts-jest": "29.4.11",
"ts-node": "10.9.2"
},
"funding": [
{
"type": "github",
"url": "https://github.com/thib3113/node-crowdsec"
},
{
"type": "individual",
"url": "https://paypal.me/thib3113"
}
]
}