-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
169 lines (169 loc) · 4.6 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "horusec",
"displayName": "Horusec",
"description": "Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.",
"version": "2.2.8",
"publisher": "ZupInnovation",
"repository": "https://github.com/ZupIT/horusec-extensions/tree/master/horusec-vscode",
"icon": "resources/horus_icon.png",
"engines": {
"vscode": "^1.51.0",
"horusecCLI": "horuszup/horusec-cli:v2.7.1"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"contributes": {
"viewsWelcome": [
{
"view": "vulnerabilitiesView",
"contents": "When your code is analyzed, the vulnerabilities found by Horusec will be listed here. \n[Start analysis](command:horusec.start)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "horusec-container",
"title": "Horusec",
"icon": "resources/horus_icon_white.svg"
}
]
},
"views": {
"horusec-container": [
{
"id": "vulnerabilitiesView",
"name": "Vulnerabilities",
"contextualTitle": "resources/horus_icon_white.svg"
},
{
"id": "helpView",
"name": "Help and Feedback",
"contextualTitle": "resources/horus_icon_white.svg"
}
]
},
"menus": {
"view/title": [
{
"command": "horusec.start",
"when": "view == vulnerabilitiesView",
"group": "navigation"
},
{
"command": "horusec.config",
"when": "view == vulnerabilitiesView",
"group": "navigation"
},
{
"command": "horusec.stop",
"when": "view == vulnerabilitiesView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "horusec.setFalsePositive",
"when": "view == vulnerabilitiesView",
"group": "main"
},
{
"command": "horusec.setRiskAccept",
"when": "view == vulnerabilitiesView",
"group": "main"
},
{
"command": "horusec.openLink",
"when": "view == helpView",
"group": "main"
}
]
},
"commands": [
{
"command": "horusec.start",
"title": "Horusec Start",
"category": "Horusec",
"icon": {
"light": "resources/light/start.svg",
"dark": "resources/dark/start.svg"
}
},
{
"command": "horusec.config",
"title": "Settings",
"category": "Horusec",
"icon": {
"light": "resources/light/config.svg",
"dark": "resources/dark/config.svg"
}
},
{
"command": "horusec.stop",
"title": "Horusec Stop",
"category": "Horusec",
"icon": {
"light": "resources/light/stop.svg",
"dark": "resources/dark/stop.svg"
}
},
{
"command": "horusec.open",
"title": "Open file",
"category": "Horusec"
},
{
"command": "horusec.setFalsePositive",
"title": "False Positive",
"category": "Horusec"
},
{
"command": "horusec.setRiskAccept",
"title": "Risk Accept",
"category": "Horusec"
},
{
"command": "horusec.openLink",
"title": "Open Link",
"category": "Horusec"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack --devtool nosources-source-map --config ./build/node-extension.webpack.config.js",
"watch": "webpack --watch --devtool nosources-source-map --info-verbosity verbose --config ./build/node-extension.webpack.config.js",
"package": "webpack --mode production --config ./build/node-extension.webpack.config.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "7.2.0",
"@types/mocha": "9.0.0",
"@types/node": "16.11.18",
"@types/uuid": "8.3.3",
"@types/vscode": "^1.51.0",
"@typescript-eslint/eslint-plugin": "5.9.0",
"@typescript-eslint/parser": "5.9.0",
"eslint": "8.6.0",
"glob": "7.2.0",
"mocha": "9.1.3",
"ts-loader": "9.2.6",
"typescript": "4.5.4",
"vscode-test": "1.6.1",
"webpack": "5.65.0",
"webpack-cli": "4.9.1"
},
"dependencies": {
"child_process": "^1.0.2",
"fs": "0.0.1-security",
"uuid": "^8.3.1"
}
}