This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
327 lines (327 loc) · 13.2 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
{
"name": "__EXTENSIONNAME__",
"displayName": "__DISPLAYNAME__",
"description": "__DESCRIPTION__",
"version": "0.0.0-UNTRACKEDVERSION",
"publisher": "__PUBLISHER__",
"instrumentationKey": "__AIKEY__",
"icon": "assets/icon.png",
"engines": {
"vscode": "^1.43.0"
},
"categories": [
"Other"
],
"preview": true,
"license": "MIT",
"homepage": "https://github.com/microsoft/vscode-python-devicesimulator",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-python-devicesimulator"
},
"bugs": {
"url": "https://github.com/microsoft/vscode-python-devicesimulator/issues"
},
"keywords": [
"python",
"CircuitPython",
"Adafruit",
"microbit",
"MicroPython"
],
"activationEvents": [
"onCommand:deviceSimulatorExpress.common.installDependencies",
"onCommand:deviceSimulatorExpress.common.openSerialMonitor",
"onCommand:deviceSimulatorExpress.common.runSimulator",
"onCommand:deviceSimulatorExpress.common.selectSerialPort",
"onCommand:deviceSimulatorExpress.common.gettingStarted",
"onCommand:deviceSimulatorExpress.common.deployToDevice",
"onCommand:deviceSimulatorExpress.common.newFile",
"onCommand:deviceSimulatorExpress.common.openSimulator",
"onDebug"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "deviceSimulatorExpress.common.installDependencies",
"title": "%deviceSimulatorExpressExtension.commands.common.installDependencies%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.changeBaudRate",
"title": "%deviceSimulatorExpressExtension.commands.common.changeBaudRate%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.closeSerialMonitor",
"title": "%deviceSimulatorExpressExtension.commands.common.closeSerialMonitor%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.openSerialMonitor",
"title": "%deviceSimulatorExpressExtension.commands.common.openSerialMonitor%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.selectSerialPort",
"title": "%deviceSimulatorExpressExtension.commands.common.selectSerialPort%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.runSimulator",
"title": "%deviceSimulatorExpressExtension.commands.common.runSimulator%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.gettingStarted",
"title": "%deviceSimulatorExpressExtension.commands.common.gettingStarted%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.deployToDevice",
"title": "%deviceSimulatorExpressExtension.commands.common.deployToDevice%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.newFile",
"title": "%deviceSimulatorExpressExtension.commands.common.newFile%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
},
{
"command": "deviceSimulatorExpress.common.openSimulator",
"title": "%deviceSimulatorExpressExtension.commands.common.openSimulator%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
}
],
"colors": [
{
"id": "highContrastButtonBorderOverride.color",
"description": "Color for the high contrast border updated",
"defaults": {
"dark": "debugToolBar.background",
"light": "debugToolBar.background",
"highContrast": "#6FC3DF"
}
},
{
"id": "badgeForegroundOverride",
"description": "Color that fixes the issue with midnight blue ",
"defaults": {
"dark": "#FFFFFF",
"light": "badge.foreground",
"highContrast": "#FFFFFF"
}
}
],
"configuration": {
"type": "object",
"title": "%deviceSimulatorExpressExtension.configuration.title%",
"properties": {
"deviceSimulatorExpress.configNewEnvironmentUponSwitch": {
"type": "boolean",
"default": false,
"description": "%deviceSimulatorExpressExtension.configuration.properties.configEnvOnChange%",
"scope": "resource"
},
"deviceSimulatorExpress.enableUSBDetection": {
"type": "boolean",
"default": true
},
"deviceSimulatorExpress.showDependencyInstall": {
"type": "boolean",
"default": true,
"description": "%deviceSimulatorExpressExtension.configuration.properties.dependencyChecker%",
"scope": "resource"
},
"deviceSimulatorExpress.showNewFilePopup": {
"type": "boolean",
"default": true,
"scope": "resource"
},
"deviceSimulatorExpress.debuggerServerPort": {
"type": "number",
"default": 5577,
"description": "%deviceSimulatorExpressExtension.configuration.properties.debuggerPort%",
"scope": "resource"
}
}
},
"breakpoints": [
{
"language": "python"
}
],
"debuggers": [
{
"type": "deviceSimulatorExpress",
"label": "Device Simulator Express Debugger",
"languages": [
"python"
],
"configurationAttributes": {
"launch": {
"properties": {
"program": {
"type": "string",
"description": "Absolute path to the code file.",
"default": "${file}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"console": {
"enum": [
"internalConsole",
"integratedTerminal",
"externalTerminal"
],
"description": "Where to launch the debug target: internal console, integrated terminal, or external terminal.",
"default": "integratedTerminal"
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program.",
"default": [],
"items": {
"filePath": "string",
"serverPort": "string"
}
},
"rules": {
"type": "array",
"description": "Debugger rules.",
"default": [],
"items": {
"path": "string",
"include": "boolean"
}
}
}
}
},
"initialConfigurations": [
{
"type": "deviceSimulatorExpress",
"request": "launch",
"name": "Device Simulator Express Debugger",
"console": "integratedTerminal"
}
],
"configurationSnippets": [
{
"label": "Device Simulator Express Debugger : Launch",
"description": "Device Simulator Express Debugger - A configuration for debugging a python code file for the Device Simulator Express simulator.",
"body": {
"type": "deviceSimulatorExpress",
"request": "launch",
"name": "Device Simulator Express Debugger",
"console": "integratedTerminal"
}
}
]
}
]
},
"scripts": {
"start": "webpack-dev-server",
"vscode:prepublish": "npm run compile",
"build": "gulp build",
"clean": "gulp clean",
"compile": "npm-run-all compile:*",
"compile:extension": "gulp compile",
"compile:views": "webpack --mode development",
"watch": "npm-run-all -p watch:*",
"watch:extension": "tsc --watch",
"watch:views": "webpack --watch --mode development",
"pretest": "npm run compile",
"test": "npm-run-all test:*",
"test:extension-tests": "node ./out/test/runTest.js",
"test:ts": "jest",
"test:api-tests": "pytest src",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json src/**/*.{ts,tsx}",
"lint:python": "pylint src",
"format": "npm-run-all format:*",
"format:ts": "prettier --config .prettierrc.yaml --write src/**/*.{css,ts,tsx}",
"format:python": "black src",
"check": "npm-run-all check:*",
"check:ts": "prettier --config .prettierrc.yaml --check src/**/*.{css,ts,tsx}",
"check:python": "black src --check",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/node": "^10.12.21",
"@types/react": "16.8.6",
"@types/react-dom": "16.8.4",
"@types/vscode": "^1.45.1",
"css-loader": "^1.0.0",
"del": "^4.0.0",
"event-stream": "^4.0.1",
"gulp": "^4.0.2",
"gulp-cli": "^2.1.0",
"gulp-filter": "^5.1.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^5.0.1",
"less": "^3.7.0",
"less-loader": "^4.1.0",
"mocha": "^6.1.4",
"npm-run-all": "^4.1.3",
"prettier": "^1.19.1",
"react-scripts": "^3.4.0",
"style-loader": "^0.21.0",
"ts-import-plugin": "^1.5.4",
"ts-loader": "^4.4.2",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"tslint-microsoft-contrib": "^6.1.0",
"tslint-react": "^3.6.0",
"tslint-react-hooks": "^2.0.0",
"typescript": "^3.8.3",
"typescript-react-intl": "^0.4.0",
"version-from-git": "^1.1.1",
"vsce": "^1.47.0",
"vscode-nls-dev": "^3.2.6",
"vscode-test": "^1.0.0",
"webpack": "^4.15.1",
"webpack-cli": "^3.0.8"
},
"dependencies": {
"@babel/preset-typescript": "^7.8.3",
"@testing-library/jest-dom": "^5.0.2",
"@testing-library/react": "^9.4.0",
"@types/jest": "^24.9.0",
"@types/open": "^6.1.0",
"@types/react-test-renderer": "^16.9.0",
"@types/socket.io": "^2.1.2",
"babel-jest": "^25.1.0",
"compare-versions": "^3.5.1",
"eventemitter2": "^5.0.1",
"glob": "^7.1.4",
"jest": "^25.1.0",
"jest-transform-css": "^2.0.0",
"office-ui-fabric-react": "^7.105.12",
"open": "^6.4.0",
"os": "^0.1.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-intl": "^3.1.9",
"react-test-renderer": "^16.9.0",
"socket.io": "^2.4.0",
"svg-inline-react": "^3.1.0",
"ts-jest": "^25.0.0",
"usb-native": "^5.0.1",
"util": "^0.12.1",
"vscode-extension-telemetry": "^0.1.1",
"vscode-nls": "^4.1.0"
},
"eslintConfig": {
"extends": "react-app"
},
"extensionDependencies": [
"ms-python.python"
]
}