@brightsec/cli 10.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +82 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/package.json +154 -0
package/package.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@brightsec/cli",
|
|
3
|
+
"version": "10.0.0-next.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/NeuraLegion/bright-cli.git"
|
|
8
|
+
},
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"author": "Artem Derevnjuk <artem.derevnjuk@brightsec.com>",
|
|
13
|
+
"bin": {
|
|
14
|
+
"bright-cli": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/NeuraLegion/bright-cli/issues"
|
|
18
|
+
},
|
|
19
|
+
"commitlint": {
|
|
20
|
+
"extends": [
|
|
21
|
+
"@commitlint/config-conventional"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=10 <=15"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@neuralegion/capture-har": "^0.3.4",
|
|
29
|
+
"@neuralegion/os-service": "^1.0.0",
|
|
30
|
+
"ajv": "^6.12.6",
|
|
31
|
+
"amqplib": "~0.10.2",
|
|
32
|
+
"better-ajv-errors": "^1.2.0",
|
|
33
|
+
"chalk": "^4.1.2",
|
|
34
|
+
"content-type": "^1.0.4",
|
|
35
|
+
"find-up": "^5.0.0",
|
|
36
|
+
"js-yaml": "^4.1.0",
|
|
37
|
+
"ms": "^2.1.3",
|
|
38
|
+
"raw-socket": "^1.7.0",
|
|
39
|
+
"reflect-metadata": "^0.1.13",
|
|
40
|
+
"request": "~2.88.2",
|
|
41
|
+
"request-promise": "~4.2.6",
|
|
42
|
+
"semver": "^7.3.5",
|
|
43
|
+
"socks": "~2.6.1",
|
|
44
|
+
"socks-proxy-agent": "~5.0.0",
|
|
45
|
+
"tslib": "^2.3.1",
|
|
46
|
+
"tsyringe": "~4.6.0",
|
|
47
|
+
"win-ca": "^3.5.0",
|
|
48
|
+
"ws": "~8.1.0",
|
|
49
|
+
"yargs": "~16.2.0"
|
|
50
|
+
},
|
|
51
|
+
"description": "Bright CLI is a CLI tool that can initialize, stop, polling and maintain scans in Bright solutions.",
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@commitlint/cli": "^17.0.3",
|
|
54
|
+
"@commitlint/config-conventional": "^17.0.3",
|
|
55
|
+
"@types/amqplib": "~0.8.2",
|
|
56
|
+
"@types/concat-stream": "^1.6.1",
|
|
57
|
+
"@types/content-type": "^1.1.5",
|
|
58
|
+
"@types/har-format": "^1.2.7",
|
|
59
|
+
"@types/jest": "^28.1.7",
|
|
60
|
+
"@types/js-yaml": "^4.0.2",
|
|
61
|
+
"@types/ms": "^0.7.31",
|
|
62
|
+
"@types/node": "^10.17.59",
|
|
63
|
+
"@types/request": "~2.48.7",
|
|
64
|
+
"@types/request-promise": "~4.1.48",
|
|
65
|
+
"@types/semver": "^7.3.8",
|
|
66
|
+
"@types/ws": "^7.4.7",
|
|
67
|
+
"@types/yargs": "~16.0.1",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
69
|
+
"@typescript-eslint/parser": "^5.33.1",
|
|
70
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
71
|
+
"concat-stream": "^2.0.0",
|
|
72
|
+
"cross-env": "^7.0.3",
|
|
73
|
+
"eslint": "^8.22.0",
|
|
74
|
+
"eslint-config-prettier": "^8.5.0",
|
|
75
|
+
"eslint-import-resolver-typescript": "^3.4.2",
|
|
76
|
+
"eslint-plugin-import": "^2.26.0",
|
|
77
|
+
"husky": "^8.0.1",
|
|
78
|
+
"is-ci": "^3.0.1",
|
|
79
|
+
"jest": "^28.1.3",
|
|
80
|
+
"lint-staged": "^13.0.3",
|
|
81
|
+
"nock": "^13.2.9",
|
|
82
|
+
"nodemon": "^2.0.19",
|
|
83
|
+
"pkg": "^5.8.0",
|
|
84
|
+
"prettier": "^2.7.1",
|
|
85
|
+
"semantic-release": "^19.0.3",
|
|
86
|
+
"terser-webpack-plugin": "^5.3.5",
|
|
87
|
+
"ts-jest": "^28.0.8",
|
|
88
|
+
"ts-loader": "^9.3.1",
|
|
89
|
+
"ts-mockito": "^2.6.1",
|
|
90
|
+
"ts-node": "^10.9.1",
|
|
91
|
+
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
92
|
+
"typescript": "^4.7.4",
|
|
93
|
+
"webpack": "^5.74.0",
|
|
94
|
+
"webpack-cli": "^4.10.0",
|
|
95
|
+
"webpack-node-externals": "^3.0.0"
|
|
96
|
+
},
|
|
97
|
+
"files": [
|
|
98
|
+
"dist"
|
|
99
|
+
],
|
|
100
|
+
"homepage": "https://github.com/NeuraLegion/bright-cli#readme",
|
|
101
|
+
"keywords": [
|
|
102
|
+
"nexploit",
|
|
103
|
+
"cli",
|
|
104
|
+
"api",
|
|
105
|
+
"bright",
|
|
106
|
+
"cyber-security",
|
|
107
|
+
"security",
|
|
108
|
+
"har",
|
|
109
|
+
"oas",
|
|
110
|
+
"crawler",
|
|
111
|
+
"nexmock"
|
|
112
|
+
],
|
|
113
|
+
"license": "MIT",
|
|
114
|
+
"lint-staged": {
|
|
115
|
+
"*.ts": [
|
|
116
|
+
"eslint --fix"
|
|
117
|
+
],
|
|
118
|
+
"*.{ts,js,json,md}": [
|
|
119
|
+
"prettier --write"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"pkg": {
|
|
123
|
+
"scripts": "dist/**/*.js",
|
|
124
|
+
"assets": [
|
|
125
|
+
"./node_modules/@neuralegion/os-service/build/Release/service.node",
|
|
126
|
+
"./node_modules/raw-socket/build/Release/raw.node",
|
|
127
|
+
"./node_modules/win-ca/lib/crypt32-ia32.node",
|
|
128
|
+
"./node_modules/win-ca/lib/crypt32-x64.node"
|
|
129
|
+
],
|
|
130
|
+
"targets": [
|
|
131
|
+
"node14-linux-x64",
|
|
132
|
+
"node14-windows-x64"
|
|
133
|
+
],
|
|
134
|
+
"outputPath": "bin",
|
|
135
|
+
"compress": "Brotli"
|
|
136
|
+
},
|
|
137
|
+
"scripts": {
|
|
138
|
+
"semantic-release": "semantic-release",
|
|
139
|
+
"cross-env": "cross-env",
|
|
140
|
+
"husky": "husky",
|
|
141
|
+
"eslint": "eslint",
|
|
142
|
+
"prettier": "prettier",
|
|
143
|
+
"webpack": "webpack",
|
|
144
|
+
"pkg": "pkg",
|
|
145
|
+
"lint": "eslint -c .eslintrc.js src tests",
|
|
146
|
+
"format": "prettier --check src tests",
|
|
147
|
+
"test:unit": "cross-env NODE_ENV=test jest src",
|
|
148
|
+
"test:e2e": "cross-env NODE_ENV=test jest tests",
|
|
149
|
+
"build": "webpack --config webpack.config.js --mode=production",
|
|
150
|
+
"build:pkg": "pkg .",
|
|
151
|
+
"prepare": "is-ci || husky install",
|
|
152
|
+
"start": "node -r ts-node/register/transpile-only -r tsconfig-paths/register src/index.ts"
|
|
153
|
+
}
|
|
154
|
+
}
|