-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
376 lines (376 loc) · 8.88 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
{
"name": "auto-js-pro-ext",
"displayName": "Auto.js-Pro-Ext",
"description": "The debugger plugin for Auto.js Pro.",
"icon": "assets/favicon.png",
"version": "9.0.9",
"publisher": "hyb1996",
"repository": {
"type": "other",
"url": "https://blog.autojs.org/2022/10/15/vscode-debug-v9/"
},
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other",
"Snippets",
"Debuggers"
],
"activationEvents": [
"onCommand:autojspor.listAll",
"onCommand:autojspor.help",
"onCommand:autojspro.connect",
"onCommand:autojspro.disconnectAll",
"onCommand:autojspro.scanDevices",
"onCommand:autojspro.run",
"onCommand:autojspro.stop",
"onCommand:autojspro.stopAll",
"onCommand:autojspro.save",
"onCommand:autojspro.newV8Project",
"onCommand:autojspro.newV9Project",
"onCommand:autojspro.newV8ProjectOnRoot",
"onCommand:autojspro.newV9ProjectOnRoot",
"onCommand:autojspro.runFile",
"onCommand:autojspro.runProject",
"onCommand:autojspro.saveProject",
"onCommand:autojspro.inspectLayout",
"onCommand:autojspro.addDebugConfig",
"onCommand:autojspro.browseDeviceFiles",
"onCommand:autojspro.selectDevice",
"onCommand:autojspro.refreshDirectory",
"onDebug",
"onDebugDynamicConfigurations:autojs",
"onLanguage:javascript",
"onLanguage:json",
"onLanguage:jsonc"
],
"main": "./dist/extension",
"contributes": {
"breakpoints": [
{
"language": "javascript"
}
],
"debuggers": [
{
"type": "autojs",
"label": "Auto.js Pro Debug",
"runtime": "node",
"languages": [
"javascript"
],
"configurationAttributes": {
"launch": {
"required": [],
"properties": {
"main": {
"type": "string",
"description": "入口代码文件的相对路径,不填时则使用当前正在编辑的文件为主脚本"
},
"rootDir": {
"type": "string",
"description": "入口代码文件所在的工作区文件夹uri"
},
"stopOnEntry": {
"type": "boolean",
"description": "启动调试时是否在第一行停下",
"default": true
}
}
}
},
"initialConfigurations": [
{
"type": "autojs",
"request": "launch",
"stopOnEntry": true,
"name": "[Auto.js Pro调试]"
}
],
"configurationSnippets": [
{
"label": "Auto.js Pro Debug: Launch",
"description": "A new configuration for 'debugging' a user selected javascript file.",
"body": {
"type": "autojs",
"request": "launch",
"main": "main.js",
"stopOnEntry": true,
"device": "[current]",
"name": "[Auto.js Pro调试]使用最近设备"
}
}
]
}
],
"commands": [
{
"command": "autojspro.listAll",
"title": "功能列表(All Commands)",
"icon": "resources/icon_autojs_logo.png",
"category": "Auto.js Pro"
},
{
"command": "autojspro.help",
"title": "使用教程(Help)",
"icon": "resources/icon_autojs_logo.png",
"category": "Auto.js Pro"
},
{
"command": "autojspro.connect",
"title": "连接到新设备(Connect)",
"icon": "resources/icon_autojs_logo.png",
"category": "Auto.js Pro"
},
{
"command": "autojspro.selectDevice",
"title": "选择设备(Select Device)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.scanDevices",
"title": "重新扫描设备(Scan Devices)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.run",
"title": "运行(Run)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.runProject",
"title": "运行项目(Run Project)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.runFile",
"title": "运行单文件(Run File)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.stopAll",
"title": "停止所有脚本(Stop All)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.stop",
"title": "停止当前脚本(Stop)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.inspectLayout",
"title": "布局分析(Inspect Layout)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.browseDeviceFiles",
"title": "浏览设备文件(Browse Device Files)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.save",
"title": "保存当前文件(Save)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.newV8Project",
"title": "新建第一代API项目(Rhino)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.newV9Project",
"title": "新建第二代API项目(Node.js)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.newV8ProjectOnRoot",
"title": "在工作区建立第一代API项目(Rhino)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.newV9ProjectOnRoot",
"title": "在工作区建立第二代API项目(Node.js)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.saveProject",
"title": "保存项目(Save Project)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.rerun",
"title": "重新运行(Rerun)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.addDebugConfig",
"title": "增加调试设备配置(Add Debug Config)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.disconnectAll",
"title": "断开所有连接(Disconnect)",
"category": "Auto.js Pro"
},
{
"command": "autojspro.refreshDirectory",
"title": "刷新文件(Refresh Directory)",
"category": "Auto.js Pro"
}
],
"menus": {
"commandPalette": [
{
"command": "autojspro.newV8ProjectOnRoot",
"when": "false"
},
{
"command": "autojspro.newV9ProjectOnRoot",
"when": "false"
}
],
"editor/title": [
{
"when": "resourceLangId == javascript || resourceLangId == json || resourceLangId == jsonc",
"command": "autojspro.listAll",
"group": "navigation"
}
],
"explorer/context": [
{
"submenu": "autojspro.newProject",
"group": "2_workspace"
},
{
"command": "autojspro.refreshDirectory",
"group": "2_workspace",
"when": "resourceScheme == autojsvfs"
}
],
"autojspro.newProject": [
{
"command": "autojspro.newV8Project",
"group": "2_workspace"
},
{
"command": "autojspro.newV9Project",
"group": "2_workspace"
},
{
"command": "autojspro.newV8ProjectOnRoot",
"group": "2_workspace"
},
{
"command": "autojspro.newV9ProjectOnRoot",
"group": "2_workspace"
}
]
},
"submenus": [
{
"id": "autojspro.newProject",
"label": "新建Auto.js Pro项目"
}
],
"keybindings": [
{
"command": "autojspro.run",
"key": "f5",
"mac": "f5",
"win": "f5"
},
{
"command": "autojspro.stop",
"key": "shift+f5",
"mac": "shift+f5",
"win": "shift+f5"
},
{
"command": "autojspro.runOnDevice",
"key": "ctrl+f5",
"mac": "cmd+f5",
"win": "ctrl+f5"
},
{
"command": "autojspro.rerun",
"key": "ctrl+shift+f5",
"mac": "cmd+shift+f5",
"win": "ctrl+shift+f5"
},
{
"command": "autojspro.save",
"key": "ctrl+shift+S",
"mac": "cmd+shift+S",
"win": "ctrl+shift+S"
}
],
"terminal": {
"profiles": [
{
"title": "Auto.js Pro远程终端",
"id": "autojspro.term"
}
]
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch"
},
"devDependencies": {
"@types/bonjour": "^3.5.10",
"@types/ftp": "^0.3.33",
"@types/http-server": "^0.12.1",
"@types/jsftp": "^2.1.2",
"@types/mocha": "5.2.7",
"@types/node": "^14.14.31",
"@types/uuid": "^8.3.4",
"@types/vscode": "^1.60.0",
"mocha": "^6.2.3",
"shebang-loader": "0.0.1",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.1",
"tslint": "5.18.0",
"typescript": "4.8.3",
"vsce": "^2.11.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"@types/archiver": "^2.1.1",
"@types/stream-buffers": "^3.0.2",
"@types/ws": "^8.5.3",
"archiver": "^2.1.1",
"await-notify": "1.0.1",
"axios": "^0.27.2",
"bonjour": "^3.5.0",
"get-port": "^5.0.0",
"http-server": "^14.1.1",
"ignore": "^5.2.0",
"jsftp": "^2.1.3",
"json-rpc-2.0": "^1.4.1",
"parse-listing": "^1.1.3",
"pureimage": "^0.3.2",
"q": "^1.5.1",
"stream-buffers": "^3.0.2",
"uuid": "^9.0.0",
"vscode-debugadapter": "1.40.0",
"ws": "^8.9.0"
},
"__npminstall_done": false,
"__metadata": {
"id": "99d5196e-6c19-46b8-8b22-59e58b2d2513",
"publisherId": "9b91d20a-fe8d-4c8f-aa0f-f9349c85254f",
"publisherDisplayName": "hyb1996",
"targetPlatform": "undefined",
"isApplicationScoped": false,
"updated": true,
"isPreReleaseVersion": false,
"installedTimestamp": 1669621514676,
"preRelease": false
}
}