forked from ryanluker/vscode-coverage-gutters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
326 lines (326 loc) · 11 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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
{
"name": "vscode-coverage-gutters",
"displayName": "Coverage Gutters",
"description": "Display test coverage generated by lcov or xml - works with many languages",
"version": "2.11.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ryanluker/vscode-coverage-gutters"
},
"icon": "app_images/icon.png",
"galleryBanner": {
"color": "#24381b",
"theme": "dark"
},
"bugs": "https://github.com/ryanluker/vscode-coverage-gutters/issues",
"publisher": "ryanluker",
"engines": {
"vscode": "^1.66.0",
"node": "^18.0.0"
},
"categories": [
"Other"
],
"keywords": [
"gutters",
"code coverage",
"lcov",
"vscode",
"xml",
"multi-root ready"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"title": "coverage-gutters",
"properties": {
"coverage-gutters.highlightlight": {
"type": "string",
"scope": "resource",
"default": "rgba(0, 255, 64, 0.2)",
"description": "light themed highlight for code coverage"
},
"coverage-gutters.highlightdark": {
"type": "string",
"scope": "resource",
"default": "rgba(0, 122, 30, 0.4)",
"description": "dark themed highlight for code coverage"
},
"coverage-gutters.partialHighlightLight": {
"type": "string",
"scope": "resource",
"default": "rgba(255, 235, 0, 0.2)",
"description": "light theme partial highlight for code coverage"
},
"coverage-gutters.partialHighlightDark": {
"type": "string",
"scope": "resource",
"default": "rgba(163, 149, 0, 0.4)",
"description": "dark theme partial highlight for code coverage"
},
"coverage-gutters.noHighlightLight": {
"type": "string",
"scope": "resource",
"default": "rgba(255, 0, 0, 0.2)",
"description": "light theme partial highlight for code coverage"
},
"coverage-gutters.noHighlightDark": {
"type": "string",
"scope": "resource",
"default": "rgba(163, 0, 0, 0.4)",
"description": "dark theme partial highlight for code coverage"
},
"coverage-gutters.gutterIconPathLight": {
"type": "string",
"scope": "resource",
"description": "path to an icon (svg, png, etc) for displaying in the gutter for full coverage"
},
"coverage-gutters.gutterIconPathDark": {
"type": "string",
"scope": "resource",
"description": "path to an icon (svg, png, etc) for displaying in the gutter for full coverage"
},
"coverage-gutters.partialGutterIconPathLight": {
"type": "string",
"scope": "resource",
"description": "path to an icon (svg, png, etc) for displaying in the gutter for partial coverage"
},
"coverage-gutters.partialGutterIconPathDark": {
"type": "string",
"scope": "resource",
"description": "path to an icon (svg, png, etc) for displaying in the gutter for partial coverage"
},
"coverage-gutters.noGutterIconPathLight": {
"type": "string",
"scope": "resource",
"description": "path to an icon (svg, png, etc) for displaying in the gutter for no coverage"
},
"coverage-gutters.noGutterIconPathDark": {
"type": "string",
"scope": "resource",
"description": "path to an icon (svg, png, etc) for displaying in the gutter for no coverage"
},
"coverage-gutters.showLineCoverage": {
"type": "boolean",
"default": false,
"description": "show or hide the line coverage",
"scope": "resource"
},
"coverage-gutters.showRulerCoverage": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "show or hide the ruler coverage"
},
"coverage-gutters.showGutterCoverage": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "show or hide the gutter coverage"
},
"coverage-gutters.ignoredPathGlobs": {
"type": "string",
"scope": "resource",
"default": "**/{node_modules,venv,.venv,vendor}/**",
"description": "paths that will be ignored by the extension"
},
"coverage-gutters.remotePathResolve": {
"type": "array",
"scope": "resource",
"default": [],
"description": "helps with coverage generated outside the local file system by swapping fragments of remote paths with local ones (EG ['/var/www/', '/home/project/']). See https://github.com/ryanluker/vscode-coverage-gutters/issues/201 for more info."
},
"coverage-gutters.manualCoverageFilePaths": {
"type": "array",
"scope": "resource",
"default": [],
"description": "take manual control over the absolute path to your coverage file(s). NOTE: this path must be the full absolute path, there is no support for the predefined path variables."
},
"coverage-gutters.coverageBaseDir": {
"type": "string",
"scope": "resource",
"default": "**",
"description": "workspaceFolder relative path or glob that will be used for coverage file lookup `${coverageBaseDir}/{${coverageFileNames}}`"
},
"coverage-gutters.coverageFileNames": {
"type": "array",
"scope": "resource",
"default": [
"lcov.info",
"cov.xml",
"coverage.xml",
"jacoco.xml",
"coverage.cobertura.xml"
],
"description": "coverage file names for the extension to automatically look for"
},
"coverage-gutters.coverageReportFileName": {
"type": "string",
"scope": "resource",
"default": "coverage/**/index.html",
"description": "default coverage report file names(can be glob style) to look for when using the preview command"
},
"coverage-gutters.customizable.status-bar-toggler-watchCoverageAndVisibleEditors-enabled": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "enable or disable the status bar item"
},
"coverage-gutters.customizable.context-menu": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "enable or disable quick commands in the context menu"
}
}
},
"commands": [
{
"command": "coverage-gutters.previewCoverageReport",
"title": "Coverage Gutters: Preview Coverage Report"
},
{
"command": "coverage-gutters.displayCoverage",
"title": "Coverage Gutters: Display Coverage"
},
{
"command": "coverage-gutters.toggleCoverage",
"title": "Coverage Gutters: Toggle Coverage"
},
{
"command": "coverage-gutters.watchCoverageAndVisibleEditors",
"title": "Coverage Gutters: Watch"
},
{
"command": "coverage-gutters.removeWatch",
"title": "Coverage Gutters: Remove Watch"
},
{
"command": "coverage-gutters.removeCoverage",
"title": "Coverage Gutters: Remove Coverage"
}
],
"keybindings": [
{
"command": "coverage-gutters.previewCoverageReport",
"key": "ctrl+shift+6",
"mac": "shift+cmd+6"
},
{
"command": "coverage-gutters.displayCoverage",
"key": "ctrl+shift+7",
"mac": "shift+cmd+7"
},
{
"command": "coverage-gutters.watchCoverageAndVisibleEditors",
"key": "ctrl+shift+8",
"mac": "shift+cmd+8"
},
{
"command": "coverage-gutters.removeWatch",
"key": "ctrl+shift+9",
"mac": "shift+cmd+9"
},
{
"command": "coverage-gutters.removeCoverage",
"key": "ctrl+shift+0",
"mac": "shift+cmd+0",
"win": "ctrl+shift+backspace"
},
{
"command": "coverage-gutters.toggleCoverage",
"key": "ctrl+shift+5",
"mac": "shift+cmd+5"
}
],
"menus": {
"editor/context": [
{
"when": "config.coverage-gutters.customizable.context-menu",
"command": "coverage-gutters.previewCoverageReport",
"group": "Coverage-Gutters@1"
},
{
"when": "config.coverage-gutters.customizable.context-menu",
"command": "coverage-gutters.displayCoverage",
"group": "Coverage-Gutters@2"
},
{
"when": "config.coverage-gutters.customizable.context-menu",
"command": "coverage-gutters.watchCoverageAndVisibleEditors",
"group": "Coverage-Gutters@3"
},
{
"when": "config.coverage-gutters.customizable.context-menu",
"command": "coverage-gutters.removeWatch",
"group": "Coverage-Gutters@4"
},
{
"when": "config.coverage-gutters.customizable.context-menu",
"command": "coverage-gutters.removeCoverage",
"group": "Coverage-Gutters@5"
}
]
}
},
"activationEvents": [
"onStartupFinished"
],
"scripts": {
"lint": "eslint --ext .ts",
"pretty": "eslint --fix --ext .ts",
"pre-commit": "lint-staged",
"test": "npm run compile && node ./out/test/runTest.js",
"test-headless": "xvfb-run -a npm run test",
"test-unit": "cross-env MOCHA_GREP=@unit npm test --silent",
"test-unit-headless": "xvfb-run -a npm run test-unit",
"test-integration": "cross-env MOCHA_GREP=@integration npm test --silent",
"test-integration-headless": "xvfb-run -a npm run test-integration",
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"build": "npm install && npm run lint && npm run compile",
"prepare": "husky install"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"eslint --fix"
]
},
"devDependencies": {
"@types/chai": "4.3.0",
"@types/glob": "7.2.0",
"@types/mocha": "9.1.0",
"@types/node": "16.11.7",
"@types/request": "2.48.8",
"@types/sinon": "10.0.11",
"@types/sinon-chai": "3.2.8",
"@types/uuid": "8.3.4",
"@types/vscode": "1.66.0",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"@vscode/test-electron": "2.3.3",
"chai": "4.3.6",
"cross-env": "7.0.3",
"eslint": "^8.14.0",
"husky": "7.0.4",
"lint-staged": "12.3.3",
"mocha": "9.2.2",
"sinon": "13.0.1",
"sinon-chai": "3.7.0",
"typescript": "4.5.5"
},
"dependencies": {
"@7sean68/jacoco-parse": "2.2.0",
"@cvrg-report/clover-json": "0.3.2",
"cobertura-parse": "fschwaiger/cobertura-parse#82b0333cb1580f6f337b5d44b04e2f5ca8711b7e",
"glob": "7.2.0",
"lcov-parse": "1.0.0",
"tslib": "^2.4.0",
"uuid": "8.3.2"
},
"extensionDependencies": [
"ms-vscode.live-server"
]
}