-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
390 lines (390 loc) · 13.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
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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
{
"name": "vscode-mocha-sidebar",
"displayName": "Mocha sidebar",
"description": "Mocha side bar is the most complete extension for mocha testing, based on not maintained mocha extension , have fun :)",
"version": "0.22.2",
"publisher": "maty",
"engines": {
"vscode": "^0.10.1"
},
"icon": "icon.png",
"galleryBanner": {
"color": "#007F00",
"theme": "dark"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/maty21/mocha-sidebar.git"
},
"bugs": "https://github.com/maty21/mocha-sidebar/issues/",
"homepage": "https://github.com/maty21/mocha-sidebar/blob/master/README.md",
"keywords": [
"bdd",
"mocha",
"tdd",
"test",
"testing"
],
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./extension",
"contributes": {
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "mocha-maty.setSubdirectory",
"group": "7_modification"
}
],
"editor/context": [
{
"command": "mocha-maty.toggleCoverage",
"when": "editorTextFocus",
"group": "mocha"
}
],
"view/title": [
{
"command": "mocha-maty.coverage",
"when": "view == mocha",
"group": "navigation"
},
{
"command": "mocha-maty.refreshExplorer",
"when": "view == mocha",
"group": "navigation"
},
{
"command": "mocha-maty.autoPlayStart",
"when": "view == mocha&&runAutoPlay",
"group": "navigation"
},
{
"command": "mocha-maty.autoPlayPause",
"when": "view == mocha&&!runAutoPlay",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "mocha-maty.runAllTests",
"when": "view == mocha&&viewItem==rootTests",
"group": "inline"
},
{
"command": "mocha-maty.runAllDebug",
"when": "view == mocha&&viewItem==rootTests",
"group": "inline"
},
{
"command": "mocha-maty.runDescriberLevelTest",
"when": "view == mocha&&viewItem==testDescriber",
"group": "inline"
},
{
"command": "mocha-maty.debugLevel",
"when": "view == mocha&&viewItem==testDescriber",
"group": "inline"
},
{
"command": "mocha-maty.runTest",
"when": "view == mocha&&viewItem==testItem",
"group": "inline"
},
{
"command": "mocha-maty.debugItem",
"when": "view == mocha&&viewItem==testItem",
"group": "inline"
}
]
},
"commands": [
{
"command": "mocha-maty.toggleCoverage",
"title": "toggle coverage"
},
{
"command": "mocha-maty.setSubdirectory",
"title": "Set mocha-sidebar subdirectory"
},
{
"command": "mocha-maty.runAllTests",
"title": "Mocha: Run all tests"
},
{
"command": "mocha.runTestAtCursor",
"title": "Mocha: Run test at cursor"
},
{
"command": "mocha.selectAndRunTest",
"title": "Mocha: Select and run a test"
},
{
"command": "mocha.runFailedTests",
"title": "Mocha: Run failed tests"
},
{
"command": "mocha.runTestsByPattern",
"title": "Mocha: Run tests matching a pattern"
},
{
"command": "mocha.runLastSetAgain",
"title": "Mocha: Run last set again"
},
{
"command": "mocha-maty.refreshExplorer",
"title": "Refresh",
"category": "mocha",
"icon": {
"light": "images/light/refresh.svg",
"dark": "images/dark/refresh.svg"
}
},
{
"command": "mocha-maty.coverage",
"title": "Click for coverage",
"category": "coverage",
"icon": {
"light": "images/light/coverage/umbrella.svg",
"dark": "images/dark/coverage/umbrella.svg"
}
},
{
"command": "mocha-maty.autoPlayStart",
"title": "Click for play",
"category": "autoPlay",
"icon": {
"light": "images/light/play-side.svg",
"dark": "images/dark/play-side.svg"
}
},
{
"command": "mocha-maty.autoPlayPause",
"title": "Click for pause",
"category": "autoPlay",
"icon": {
"light": "images/light/pause-button.svg",
"dark": "images/dark/pause-button.svg"
}
},
{
"command": "mocha-maty.runAllTests",
"title": "Run All Tests",
"category": "mocha",
"icon": {
"light": "images/light/play-side.svg",
"dark": "images/dark/play-side.svg"
}
},
{
"command": "mocha-maty.runAllDebug",
"title": "debug all",
"category": "Mocha",
"icon": {
"light": "images/light/debug-side.svg",
"dark": "images/dark/debug-side.svg"
}
},
{
"command": "mocha-maty.runTest",
"title": "Run test",
"category": "mocha",
"icon": {
"light": "images/light/play-side.svg",
"dark": "images/dark/play-side.svg"
}
},
{
"command": "mocha-maty.itemSelection",
"title": "itemSelection",
"category": "mocha"
},
{
"command": "mocha-maty.debugItem",
"title": "Debug",
"category": "mocha",
"icon": {
"light": "images/light/debug-side.svg",
"dark": "images/dark/debug-side.svg"
}
},
{
"command": "mocha-maty.runDescriberLevelTest",
"title": "Run tests from this level",
"category": "mocha",
"icon": {
"light": "images/light/play-side.svg",
"dark": "images/dark/play-side.svg"
}
},
{
"command": "mocha-maty.debugLevel",
"title": "Debug Level",
"category": "mocha",
"icon": {
"light": "images/light/debug-side.svg",
"dark": "images/dark/debug-side.svg"
}
}
],
"views": {
"test": [
{
"id": "mocha",
"name": "mocha",
"when": "config.mocha.showInExplorer == false"
}
],
"explorer": [
{
"id": "mocha",
"name": "mocha",
"when": "config.mocha.showInExplorer == true"
}
]
},
"configuration": {
"type": "object",
"title": "Mocha options",
"properties": {
"mocha.options": {
"default": {},
"description": "Mocha: Options to run Mocha"
},
"mocha.coverage": {
"default": {
"enable": true,
"decoration": true,
"runWithInterval": false,
"autoUpdateInterval": 20000,
"activeOnStart": true,
"runAfterTest": false,
"runCoverageAfterFileSave": false,
"reporters": []
},
"description": "code coverage with istanbul "
},
"mocha.nycPath": {
"default": "",
"type": "string",
"description": "nyc path config for coverage"
},
"mocha.debugSettingsName": {
"default": "",
"type": "string",
"description": "set debug name"
},
"mocha.showErrorPopup": {
"default": "true",
"description": "Show popup when having any error while executing test",
"type": "boolean"
},
"mocha.showInExplorer": {
"type": "boolean",
"default": false,
"description": "Show in explorer view or in test view(new feature since version 1.23)"
},
"mocha.path": {
"default": "",
"description": "Mocha: set other mocha path then the built-in one for example ../node_modules/mocha (only path to the package)",
"type": "string"
},
"mocha.logVerbose": {
"default": true,
"description": "Mocha: mocha package path then the sideBar installed one for example ../node_modules/mocha",
"type": "boolean"
},
"mocha.parallelTests": {
"default": 5,
"description": "Mocha: number of tests to run in parallel",
"type": "number"
},
"mocha.files.glob": {
"default": "test/**/*.js",
"description": "Mocha: Glob to search for test files",
"type": "string"
},
"mocha.files.ignore": {
"default": [
"**/.git/**/*",
"**/node_modules/**/*"
],
"description": "Mocha: Globs to ignore when searching for test files",
"type": [
"string"
]
},
"mocha.requires": {
"default": [],
"description": "Array of module required to run Mocha. (for example babel-register, coffee-script/register or ts-node/register)",
"type": "array",
"items": {
"type": "string"
}
},
"mocha.runTestsOnSave": {
"default": "false",
"description": "Mocha: run tests on each save",
"type": "string"
},
"mocha.env": {
"default": {},
"description": "Mocha: Environment variables to run your tests"
},
"mocha.node_options": {
"default": [],
"description": "Mocha: Options to pass to node executable"
},
"mocha.sideBarOptions": {
"default": {
"lens": true,
"decoration": true,
"autoUpdateTime": 2000,
"showDebugTestStatus": true
},
"description": "Mocha: this option allows you to enable/disable lens and decorations and set update threshold."
},
"mocha.subdirectory": {
"default": "",
"type": "string",
"description": "Sets a subdirectory as the root for mocha-sidebar"
}
}
}
},
"devDependencies": {
"eslint": "^5.16.0",
"vscode": "0.11.x"
},
"dependencies": {
"async": "^2.6.1",
"await-done": "^1.0.1",
"babel-register": "^6.26.0",
"babylon": "^6.13.1",
"bluebird": "^3.5.2",
"clone": "^2.1.2",
"escape-regexp": "0.0.1",
"escape-string-regexp": "^1.0.5",
"get-installed-path": "^4.0.8",
"glob": "^7.0.3",
"lcov-parse": "^1.0.0",
"line-number": "^0.1.0",
"lodash.assign": "^4.2.0",
"lodash.difference": "^4.5.0",
"lodash.forin": "^4.4.0",
"lodash.isobject": "^3.0.2",
"lodash.remove": "^4.7.0",
"mocha": "^5.2.0",
"npm": "^6.9.0",
"nyc": "^11.7.3",
"rimraf": "^2.6.2",
"split-lines": "^1.1.0",
"stacktrace-parser": "^0.1.4"
}
}