-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
453 lines (453 loc) · 11.4 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
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
{
"name": "pros",
"displayName": "PROS",
"publisher": "sigbots",
"description": "PROS Extension that allows for C/C++ Development for VEX V5 and VEX Cortex",
"author": {
"name": "Purdue ACM SIGBOTS"
},
"license": "SEE LICENSE IN LICENSE.txt",
"bugs": {
"url": "https://github.com/purduesigbots/pros-vsc/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/purduesigbots/pros-vsc.git"
},
"homepage": "http://pros.cs.purdue.edu",
"keywords": [
"vex",
"v5",
"pros",
"education",
"outreach",
"robotics",
"vrc",
"cortex",
"code",
"autonomous",
"opcontrol"
],
"icon": "media/pros-tux-white.png",
"galleryBanner": {
"color": "#D6B872",
"theme": "dark"
},
"version": "0.7.1",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/project.pros",
"onCommand:pros.new",
"onCommand:pros.welcome",
"onCommand:pros.build&upload",
"onView:prosTreeview",
"onCommand:pros.selectProject"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "pros-view-container",
"title": "PROS",
"icon": "media/pros-tux-white.png"
}
]
},
"views": {
"pros-view-container": [
{
"id": "prosTreeview",
"name": "PROS",
"icon": "media/pros-tux-white.png",
"contextualTitle": "PROS"
},
{
"when": "pros.betaFeaturesEnabled",
"id": "pros.brainView",
"name": "Brain View",
"type": "webview",
"contextualTitle": "Brain View"
}
]
},
"icons": {
"pros-v5-brain": {
"description": "V5 Brain",
"default": {
"fontPath": "media/vexicon.woff",
"fontCharacter": "\\E00C"
}
},
"pros-v5-controller": {
"description": "V5 Controller",
"default": {
"fontPath": "media/vexicon.woff",
"fontCharacter": "\\E00D"
}
},
"pros-v5-unknown": {
"description": "Unknown V5 Device",
"default": {
"fontPath": "media/vexicon.woff",
"fontCharacter": "\\E00A"
}
}
},
"commands": [
{
"command": "pros.build&upload",
"title": "Build & Upload",
"icon": {
"light": "media/pros-tux-white.png",
"dark": "media/pros-tux-white.png"
}
},
{
"command": "pros.upload",
"title": "PROS: Upload"
},
{
"command": "pros.build",
"title": "PROS: Build"
},
{
"command": "pros.run",
"title": "PROS: Run",
"icon": {
"light": "media/run-tux-white.png",
"dark": "media/run-tux-white.png"
}
},
{
"command": "pros.stop",
"title": "PROS: Stop",
"icon": {
"light": "media/stop-tux-white.png",
"dark": "media/stop-tux-white.png"
}
},
{
"command": "pros.clean",
"title": "PROS: Clean"
},
{
"command": "pros.terminal",
"title": "PROS: Brain Terminal"
},
{
"command": "pros.showterminal",
"title": "PROS: Integrated Terminal"
},
{
"command": "pros.batterymedic",
"title": "PROS: Run Battery Medic"
},
{
"command": "pros.capture",
"title": "PROS: Screenshot V5 Brain"
},
{
"command": "pros.upgrade",
"title": "PROS: Upgrade Project"
},
{
"command": "pros.new",
"title": "PROS: Create New PROS Project"
},
{
"command": "pros.infoProject",
"title": "PROS: Project Information"
},
{
"command": "pros.resetConductor",
"title": "PROS: Reset Conductor"
},
{
"command": "pros.welcome",
"title": "PROS: Welcome"
},
{
"command": "pros.install",
"title": "PROS: Install PROS"
},
{
"command": "pros.uninstall",
"title": "PROS: Uninstall PROS"
},
{
"command": "pros.verify",
"title": "PROS: Verify PROS Installation"
},
{
"command": "pros.selectProject",
"title": "PROS: Select PROS Project"
},
{
"command": "pros.installVision",
"title": "PROS: Install PROS Vision"
},
{
"command": "pros.uninstallVision",
"title": "PROS: Uninstall PROS Vision"
},
{
"command": "pros.runVision",
"title": "PROS: Run PROS Vision"
},
{
"command": "pros.deleteLogs",
"title": "PROS: Delete Logs"
},
{
"command": "pros.openLog",
"title": "PROS: Open Log"
},
{
"command": "pros.updatefirmware",
"title": "PROS: Update VEXos Firmware"
},
{
"command": "pros.teamnumber",
"title": "PROS: Set Team Number"
},
{
"command": "pros.robotname",
"title": "PROS: Set Robot Name"
},
{
"command": "pros.opendocs",
"title": "PROS: Open Docs"
}
],
"keybindings": [
{
"key": "ctrl+alt+o",
"command": "pros.showterminal",
"mac": "cmd+alt+o"
},
{
"key": "ctrl+alt+b",
"command": "pros.build",
"mac": "cmd+alt+b"
},
{
"key": "ctrl+alt+u",
"command": "pros.upload",
"mac": "cmd+alt+u"
},
{
"key": "ctrl+alt+m",
"command": "pros.build&upload",
"mac": "cmd+alt+m"
},
{
"key": "ctrl+alt+t",
"command": "pros.terminal",
"mac": "cmd+alt+t"
}
],
"menus": {
"editor/title": [
{
"when": "pros.isPROSProject",
"command": "pros.build&upload",
"group": "navigation@1"
},
{
"when": "pros.isPROSProject",
"command": "pros.run",
"group": "navigation@1"
},
{
"when": "pros.isPROSProject",
"command": "pros.stop",
"group": "navigation@1"
}
],
"editor/context": [
{
"when": "true",
"command": "pros.build&upload"
}
],
"touchBar": [
{
"when": "true",
"command": "pros.build&upload"
}
],
"commandPalette": [
{
"when": "pros.isPROSProject",
"command": "pros.build&upload"
},
{
"when": "pros.isPROSProject",
"command": "pros.upload"
},
{
"when": "pros.isPROSProject",
"command": "pros.build"
},
{
"when": "pros.isPROSProject",
"command": "pros.run"
},
{
"when": "pros.isPROSProject",
"command": "pros.stop"
},
{
"when": "pros.isPROSProject",
"command": "pros.clean"
},
{
"when": "pros.isPROSProject",
"command": "pros.terminal"
},
{
"when": "pros.isPROSProject",
"command": "pros.upgrade"
},
{
"when": "pros.isPROSProject",
"command": "pros.install"
},
{
"when": "true",
"command": "pros.selectProject"
}
]
},
"customEditors": [
{
"viewType": "pros.projectEditor",
"displayName": "PROS Project",
"selector": [
{
"filenamePattern": "project.pros"
}
]
}
],
"configuration": {
"title": "PROS",
"properties": {
"pros.Enable Analytics": {
"type": "boolean",
"default": true,
"description": "Send anonymous usage statistics."
},
"pros.Show Welcome On Startup": {
"type": "boolean",
"default": true,
"description": "Show welcome page on startup."
},
"pros.Enable Auto Updates": {
"type": "boolean",
"default": true,
"description": "Automatically update the PROS CLI."
},
"pros.show Device Connect Notifications": {
"type": "boolean",
"default": true,
"description": "Show notifications for device connects and disconnects."
},
"pros.Use Logger": {
"type": "boolean",
"default": true,
"description": "Log PROS Extension events into a log file. Will help people provide better tech support if something goes wrong."
},
"pros.Log History Limit": {
"type": "number",
"default": 60,
"description": "The number of days that log files will be kept before being removed."
},
"pros.OneClick: CLI Download URL": {
"type": "string",
"default": "default",
"description": "URL to download PROS CLI from. SHOULD NOT BE CHANGED BY MOST USERS!"
},
"pros.OneClick: Toolchain Download URL": {
"type": "string",
"default": "default",
"description": "URL to download PROS Toolchain from. SHOULD NOT BE CHANGED BY MOST USERS!"
},
"pros.Beta: Enable Experimental Features": {
"type": "boolean",
"default": false,
"description": "Enable experimental features. These features are not guaranteed to work and may be removed at any time."
},
"pros.Integrated Docs Language": {
"type": "string",
"default": "cpp",
"description": "Desired language for Integrated Documentation. Options are 'c' or 'cpp'.",
"enum": [
"c",
"cpp"
]
},
"pros.Integrated Docs Style": {
"type": "string",
"default": "beside",
"enum": [
"beside",
"active"
],
"enumDescriptions": [
"Open the docs beside the active editor",
"Open the docs in the active editor"
],
"description": "Default style to set position of integrated document viewer"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"deploy": "vsce publish --yarn",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint --cache --max-warnings=0",
"test": "node ./out/test/runTest.js",
"format": "prettier --write --json-recursive-sort"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@vscode/vsce": "^2.15.0",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^10.2.0",
"prettier": "^2.7.1",
"prettier-plugin-sort-json": "^0.0.2",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
},
"dependencies": {
"@purduesigbots/pros-cli-middleware": "^2.5.2",
"@types/semver": "^7.3.6",
"@types/universal-analytics": "^0.4.4",
"adm-zip": "^0.5.10",
"axios": "^1.6.0",
"dotenv": "^16.3.1",
"node-fetch": "^2.6.7",
"seek-bzip": "^2.0.0",
"semver": "^7.5.2",
"tar-fs": "^2.1.1",
"universal-analytics": "^0.5.3",
"usb": "^2.10.0"
}
}