-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
295 lines (295 loc) · 8.55 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
{
"name": "fabric8-analytics",
"displayName": "Dependency Analytics",
"description": "Insights about your application dependencies: Security, License compatibility and AI based guidance to choose appropriate dependencies for your application.",
"version": "0.3.4",
"author": "Red Hat",
"publisher": "redhat",
"preview": true,
"extensionDependencies": [
"redhat.vscode-commons"
],
"contributors": [
{
"name": "Jaivardhan Kumar",
"email": "[email protected]"
},
{
"name": "Arunprasad Rajkumar",
"email": "[email protected]"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension"
},
"homepage": "https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/blob/master/README.md",
"categories": [
"Other"
],
"keywords": [
"security",
"vulnerability",
"dependency scan",
"node",
"java",
"multi-root ready"
],
"icon": "icon/openshift_logo.png",
"engines": {
"vscode": "^1.50.0"
},
"activationEvents": [
"onCommand:fabric8.stackAnalysis",
"workspaceContains:**/package.json",
"workspaceContains:**/pom.xml",
"workspaceContains:**/requirements.txt",
"workspaceContains:**/go.mod"
],
"main": "./dist/extension",
"contributes": {
"languages": [
{
"id": "security",
"aliases": [
"CVE",
"python",
"pom.xml",
"package.json",
"requirements.txt"
]
},
{
"id": "analytics",
"aliases": [
"AI",
"artificial intelligence",
"deep learning",
"suggest dependencies"
]
}
],
"commands": [
{
"command": "fabric8.stackAnalysis",
"title": "Stack Report...",
"category": "Dependency Analytics"
},
{
"command": "fabric8.stackAnalysisFromPieBtn",
"title": "Open Vulnerability Report",
"icon": {
"light": "icon/report-icon.png",
"dark": "icon/report-icon.png"
}
},
{
"command": "fabric8.stackAnalysisFromEditor",
"title": "Dependency Analytics Report..."
},
{
"command": "fabric8.stackAnalysisFromExplorer",
"title": "Dependency Analytics Report..."
},
{
"command": "fabric8.fabric8AnalyticsStackLogs",
"title": "Debug logs",
"category": "Dependency Analytics"
}
],
"menus": {
"editor/title": [
{
"command": "fabric8.stackAnalysisFromPieBtn",
"when": "resourceFilename == pom.xml",
"group": "navigation"
},
{
"command": "fabric8.stackAnalysisFromPieBtn",
"when": "resourceFilename == package.json",
"group": "navigation"
},
{
"command": "fabric8.stackAnalysisFromPieBtn",
"when": "resourceFilename == requirements.txt",
"group": "navigation"
},
{
"command": "fabric8.stackAnalysisFromPieBtn",
"when": "resourceFilename == go.mod",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "fabric8.stackAnalysisFromExplorer",
"when": "resourceFilename == package.json"
},
{
"command": "fabric8.stackAnalysisFromExplorer",
"when": "resourceFilename == pom.xml"
},
{
"command": "fabric8.stackAnalysisFromExplorer",
"when": "resourceFilename == requirements.txt"
},
{
"command": "fabric8.stackAnalysisFromExplorer",
"when": "resourceFilename == go.mod"
}
],
"editor/context": [
{
"command": "fabric8.stackAnalysisFromEditor",
"when": "resourceFilename == package.json"
},
{
"command": "fabric8.stackAnalysisFromEditor",
"when": "resourceFilename == pom.xml"
},
{
"command": "fabric8.stackAnalysisFromEditor",
"when": "resourceFilename == requirements.txt"
},
{
"command": "fabric8.stackAnalysisFromEditor",
"when": "resourceFilename == go.mod"
}
],
"commandPalette": [
{
"command": "fabric8.stackAnalysisFromPieBtn",
"when": "false"
},
{
"command": "fabric8.stackAnalysisFromEditor",
"when": "false"
},
{
"command": "fabric8.stackAnalysisFromExplorer",
"when": "false"
}
]
},
"configurationAttributes": {
"launch": {
"properties": {
"pythonPath": {
"type": "string",
"description": "Path (fully qualified) to python executable. Defaults to the value in settings.json",
"default": "${config:python.pythonPath}"
}
}
}
},
"configuration": {
"type": "object",
"title": "Openshift.io configuration",
"properties": {
"dependencyAnalyticsServer.maxNumberOfProblems": {
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"dependencyAnalyticsServer.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VSCode and the dependencyAnalyticsServer service."
},
"dependencyAnalytics.host": {
"type": "string",
"default": "https://f8a-analytics-2445582058137.production.gw.apicast.io",
"description": "Host name of Dependency Analytics server.",
"scope": "window"
},
"dependencyAnalytics.apiKey": {
"type": "string",
"default": "9e7da76708fe374d8c10fa752e72989f",
"description": "3scale user_key to access dependencyAnalytics.host",
"scope": "window"
},
"dependencyAnalytics.stackReportUIHost": {
"type": "string",
"default": "https://stack-analytics-report.openshift.io/",
"description": "Host name of the stack report UI.",
"scope": "window"
},
"maven.executable.path": {
"type": "string",
"default": "",
"description": "Specifies absolute path of mvn executable.",
"scope": "window"
},
"npm.executable.path": {
"type": "string",
"default": "",
"description": "Specifies absolute path of npm executable.",
"scope": "window"
},
"go.executable.path": {
"type": "string",
"default": "",
"description": "Specifies absolute path of go executable.",
"scope": "window"
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch --info-verbosity verbose",
"test-compile": "tsc -p ./",
"test": "node ./out/test/runTest.js",
"reinstall": "npm cache verify && npm install",
"lint": "tslint -c tslint.json src/*.ts",
"ui-test": "npm install && npm run test-compile && npx extest setup-and-run -i -s ../ ./out/ui-test/allTestsSuite.js -o settings.json"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.0",
"@types/node": "^12.12.0",
"@types/sinon": "^7.5.0",
"@types/vscode": "^1.50.0",
"chai": "^4.1.2",
"debug": "^3.2.6",
"decache": "^4.4.0",
"glob": "^7.1.3",
"istanbul": "^0.4.5",
"mocha": "^7.1.2",
"mocha-jenkins-reporter": "^0.4.0",
"mocha-loader": "^3.0.0",
"remap-istanbul": "^0.13.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.2.0",
"source-map-loader": "^1.1.0",
"supertest": "^6.1.3",
"ts-loader": "^6.2.0",
"tslint": "^5.19.0",
"typescript": "^3.8.3",
"vsce": "^1.88.0",
"vscode-extension-tester": "^4.0.3",
"vscode-test": "^1.3.0",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"@redhat-developer/vscode-redhat-telemetry": "0.0.13",
"fabric8-analytics-lsp-server": "^0.4.29",
"fs": "0.0.1-security",
"node-fetch": "^2.6.0",
"path": "0.12.7",
"request": "2.88.0",
"vscode-languageclient": "5.2.1"
}
}