forked from microsoft/sarif-vscode-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
210 lines (210 loc) · 7.25 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
{
"name": "monokle-sarif",
"displayName": "Monokle SARIF Viewer",
"description": "Adds support for viewing SARIF logs, fork of Sarif Viewer by Microsoft Corporation",
"author": "Kubeshop",
"license": "MIT",
"version": "1.3.0",
"publisher": "Kubeshop",
"repository": {
"type": "git",
"url": "https://github.com/kubeshop/vscode-monokle.git"
},
"bugs": {
"url": "https://github.com/kubeshop/vscode-monokle/issues"
},
"icon": "icon.png",
"categories": [
"Other"
],
"keywords": [
"sarif"
],
"engines": {
"vscode": "^1.72.0"
},
"activationEvents": [
"onLanguage:json",
"onUri",
"workspaceContains:.git",
"workspaceContains:.sarif"
],
"extensionDependencies": [
"vscode.git"
],
"main": "./out/context.js",
"contributes": {
"configuration": {
"title": "SARIF Viewer",
"properties": {
"monokle-sarif.rootpaths": {
"type": "array",
"description": "Add root paths for default mapping of locations in the sarif file that can't be found (ex. the local root directory of your repo)."
},
"monokle-sarif.explorer.openWhenNoResults": {
"description": "Indicates whether to open the explorer when there are no results in the log.",
"type": "boolean",
"default": false
},
"monokle-sarif.connectToGithubCodeScanning": {
"description": "Connect to GitHub and display any code scanning results. Setting takes effect on editor restart.",
"type": "string",
"enum": [
"off",
"on",
"prompt"
],
"enumDescriptions": [
"If you do not anticipate having or using GitHub code scanning results, this will save compute and network resources.",
"",
"Intended for first-time users."
],
"default": "off"
},
"monokle-sarif.updateChannel": {
"description": "Specifies the type of updates the extension receives.",
"type": "string",
"enum": [
"Default",
"Insiders"
],
"enumDescriptions": [
"Default channel.",
"Insiders channel. Receives upcoming features and bug fixes at a faster rate."
],
"default": "Default",
"scope": "application"
},
"monokle-sarif.githubCodeScanningInitialAlert": {
"description": "Specifies an initial alert to load into the UI on when the IDE starts. This is meant to be set programmatically.",
"type": "string",
"ignoreSync": true,
"scope": "machine"
}
}
},
"languages": [
{
"id": "json",
"extensions": [
".sarif"
]
}
],
"commands": [
{
"command": "monokle-sarif.showPanel",
"category": "Monokle Sarif",
"title": "Show Panel"
},
{
"command": "monokle-sarif.clearState",
"category": "Monokle Sarif",
"title": "Clear State"
},
{
"command": "monokle-sarif.alertDismissFalsePositive",
"category": "Monokle Sarif",
"title": "Dismiss - False Positive"
},
{
"command": "monokle-sarif.alertDismissUsedInTests",
"category": "Monokle Sarif",
"title": "Dismiss - Used in Tests"
},
{
"command": "monokle-sarif.alertDismissWontFix",
"category": "Monokle Sarif",
"title": "Dismiss - Won't Fix"
}
],
"menus": {
"webview/context": [
{
"command": "monokle-sarif.alertDismissFalsePositive",
"when": "webviewId == 'sarif' && webviewSection == 'isGithubAlert'"
},
{
"command": "monokle-sarif.alertDismissUsedInTests",
"when": "webviewId == 'sarif' && webviewSection == 'isGithubAlert'"
},
{
"command": "monokle-sarif.alertDismissWontFix",
"when": "webviewId == 'sarif' && webviewSection == 'isGithubAlert'"
}
]
}
},
"scripts": {
"prestart": "npm install",
"start": "webpack --watch --mode development",
"server": "webpack serve --mode development",
"test": "mocha",
"test:watch": "mocha --watch",
"testcoverage": "nyc mocha",
"package": "vsce package",
"vscode:prepublish": "webpack --mode production",
"lint": "eslint src"
},
"devDependencies": {
"@actions/core": "1.9.1",
"@actions/github": "2.1.1",
"@types/follow-redirects": "1.8.0",
"@types/mocha": "2.2.48",
"@types/mock-require": "2.0.0",
"@types/node": "10.12.21",
"@types/node-fetch": "2.5.7",
"@types/proxyquire": "1.3.28",
"@types/react": "16.9.26",
"@types/react-dom": "16.9.5",
"@types/sarif": "2.1.3",
"@types/semver": "7.1.0",
"@types/sinon": "9.0.4",
"@types/tmp": "0.1.0",
"@types/url-join": "4.0.0",
"@types/vscode": "1.57",
"@typescript-eslint/eslint-plugin": "3.1.0",
"@typescript-eslint/parser": "3.1.0",
"@zeit/ncc": "0.22.1",
"copy-webpack-plugin": "^9.1.0",
"css-loader": "^6.3.0",
"eslint": "7.1.0",
"eslint-plugin-filenames": "1.3.2",
"eslint-plugin-header": "3.0.0",
"json-source-map": "0.6.1",
"mocha": "10.2.0",
"nyc": "15.1.0",
"proxyquire": "2.1.3",
"sass": "^1.49.9",
"sass-loader": "^12.1.0",
"sinon": "9.0.2",
"style-loader": "^3.3.0",
"ts-loader": "^9.2.6",
"ts-node": "8.8.2",
"tslint": "5.12.1",
"typescript": "3.8.3",
"vsce": "^1.100.0",
"webpack": "^5.76.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.2.1"
},
"dependencies": {
"@types/diff": "^5.0.2",
"chokidar": "^3.3.0",
"diff": "^3.5.0",
"follow-redirects": "1.15.4",
"https-proxy-agent": "5.0.0",
"mobx": "5.15.4",
"mobx-react": "6.1.8",
"node-fetch": "2.6.7",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-markdown": "^5.0.3",
"stream-meter": "^1.0.4",
"semver": "7.5.2",
"tmp": "0.1.0",
"vscode-codicons": "0.0.2",
"vscode-extension-telemetry": "0.1.6",
"vscode-uri": "2.1.2"
}
}