-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
660 lines (660 loc) · 19 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
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
{
"name": "ionic",
"displayName": "Ionic",
"description": "Official extension for Ionic and Capacitor development",
"version": "1.101.0",
"icon": "media/ionic.png",
"publisher": "Ionic",
"keywords": [
"Ionic",
"Capacitor",
"Ionic Framework",
"Cordova",
"Cross Platform",
"Web Native",
"Android",
"iOS",
"React",
"Vue",
"Angular",
"React Native",
"Flutter"
],
"private": true,
"license": "MIT",
"scripts": {
"prepare": "husky install",
"install:all": "npm install && cd plugin-explorer && npm install",
"build:pe": "cd plugin-explorer && npm run build --configuration=production",
"build:is": "cd ionic-start && npm run build --configuration=production",
"clean": "find ./node_modules -name '*.md' -delete && find ./node_modules -name '*.ts' -delete && find ./node_modules -iname 'LICENSE' -delete && find ./node_modules -name '*.map' -delete && find ./node_modules -name '*.txt' -delete",
"build": "npm run compile && npm run build:pe && npm run build:is && npm run clean && npm run esbuild && npm run vsix-package && npm run reset",
"reset": "rm -rf node_modules && npm install",
"vsix-package": "vsce package",
"pre-release": "npm run build && vsce publish --pre-release",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --external:prettier --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "npm run eslint && npm run prettier -- --check",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write",
"prettier": "prettier \"**/*.ts\"",
"eslint": "eslint . --ext .ts"
},
"repository": {
"type": "git",
"url": "https://ionic.io"
},
"engines": {
"vscode": "^1.65.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:ionic",
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"keybindings": [
{
"command": "ionic-official.run",
"key": "alt+r",
"mac": "alt+r",
"when": "explorerViewletVisible"
},
{
"command": "ionic-official.debug",
"key": "alt+d",
"mac": "alt+d",
"when": "explorerViewletVisible"
},
{
"command": "ionic-official.build",
"key": "alt+b",
"mac": "alt+b",
"when": "explorerViewletVisible"
}
],
"viewsWelcome": [
{
"view": "ionic-tree",
"contents": "Please wait while inspecting project...",
"when": "inspectedProject == false && isAnonymous == false && noProjectFound == false"
},
{
"view": "ionic-tree",
"contents": "Want to create a new Mobile or Web App?\n[Start New Project](command:ionic-official.newProject)\n",
"when": "noProjectFound == true"
},
{
"view": "ionic-tree",
"contents": "A free Ionic account is required to unlock all extension features or [Skip for Now](command:ionic-official.skipLogin).\n[Login](command:ionic-official.login)\n[Sign Up](command:ionic-official.signUp)\n",
"when": "isAnonymous == true && isLoggingIn == false"
},
{
"view": "ionic-tree",
"contents": "Complete the login in the web browser. This view will change as soon as you login.",
"when": "isAnonymous == true && isLoggingIn == true"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "ionic-recommendation",
"title": "Ionic",
"icon": "media/ionic.svg"
}
]
},
"views": {
"ionic-recommendation": [
{
"id": "ionic-tree",
"name": "Ionic",
"contextualTitle": "Ionic"
},
{
"id": "ionic-devserver",
"type": "webview",
"name": "Preview",
"when": "isDevServing == true"
},
{
"id": "ionic-zprojects",
"name": "Projects",
"when": "isMonoRepo == true"
}
],
"explorer": []
},
"languages": [
{
"id": "Log",
"aliases": [
"log"
],
"extensions": [
".log"
],
"mimetypes": [
"log",
"text/log",
"text/x-log",
"text/x-code-output",
"x-code-output"
]
}
],
"grammars": [
{
"language": "Log",
"scopeName": "code.log",
"path": "./resources/log-language.xml"
}
],
"commands": [
{
"command": "ionic-official.refresh",
"title": "Ionic: Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "ionic-official.add",
"title": "Ionic: Packages",
"icon": {
"light": "resources/light/more.svg",
"dark": "resources/dark/more.svg"
}
},
{
"command": "ionic-official.pluginExplorer",
"title": "Ionic: Plugins"
},
{
"command": "ionic-official.newProject",
"title": "Ionic: New Project"
},
{
"command": "ionic-official.run",
"title": "Ionic: Run"
},
{
"command": "ionic-official.debug",
"title": "Ionic: Run and Debug"
},
{
"command": "ionic-official.build",
"title": "Ionic: Build"
},
{
"command": "ionic-official.lightbulb",
"title": "Upgrade",
"icon": {
"light": "resources/light/lightbulb.svg",
"dark": "resources/dark/lightbulb.svg"
}
},
{
"command": "ionic-official.fix",
"title": "Ionic: Fix Issue"
},
{
"command": "ionic-official.signUp",
"title": "Ionic: Sign Up"
},
{
"command": "ionic-official.login",
"title": "Ionic: Login"
},
{
"command": "ionic-official.skipLogin",
"title": "Ionic: Skip Login"
},
{
"command": "ionic-official.open",
"title": "View"
},
{
"command": "ionic-official.rebuild",
"title": "Rebuild"
},
{
"command": "ionic-official.openXcode",
"title": "Ionic: Open in XCode"
},
{
"command": "ionic-official.openAndroidStudio",
"title": "Ionic: Open in Android Studio"
},
{
"command": "ionic-official.runIOS",
"title": "Ionic: Run for iOS"
},
{
"command": "ionic-official.runAndroid",
"title": "Ionic: Run for Android"
},
{
"command": "ionic-official.runWeb",
"title": "Ionic: Run for Web"
},
{
"command": "ionic-official.capSync",
"title": "Ionic: Sync"
},
{
"command": "ionic-official.refreshDebug",
"title": "Refresh",
"icon": {
"light": "resources/light/sync.svg",
"dark": "resources/dark/sync.svg"
}
},
{
"command": "ionic-official.function",
"title": "Execute"
},
{
"command": "ionic-official.stop",
"title": "Stop"
},
{
"command": "ionic-official.buildConfig",
"title": "Build Configuration",
"icon": {
"light": "resources/light/more.svg",
"dark": "resources/dark/more.svg"
}
},
{
"command": "ionic-official.webOpenBrowser",
"title": "Open in a web browser",
"icon": {
"light": "resources/light/globe.svg",
"dark": "resources/dark/globe.svg"
}
},
{
"command": "ionic-official.webOpenBrowserSelected",
"title": "Open in a web browser",
"icon": {
"light": "resources/light/globe-select.svg",
"dark": "resources/dark/globe-select.svg"
}
},
{
"command": "ionic-official.liveReload",
"title": "Live Reload - Refresh your app after a code change",
"icon": {
"light": "resources/light/live.svg",
"dark": "resources/dark/live.svg"
}
},
{
"command": "ionic-official.liveReloadSelected",
"title": "Live Reload - Click to turn off",
"icon": {
"light": "resources/light/live-select.svg",
"dark": "resources/dark/live-select.svg"
}
},
{
"command": "ionic-official.webNexus",
"title": "Open in Nexus Browser",
"icon": {
"light": "resources/light/nexus.svg",
"dark": "resources/dark/nexus.svg"
}
},
{
"command": "ionic-official.webNexusSelected",
"title": "Open in Nexus Browser",
"icon": {
"light": "resources/light/nexus-select.svg",
"dark": "resources/dark/nexus-select.svg"
}
},
{
"command": "ionic-official.webEditor",
"title": "Open in a VS Code window",
"icon": {
"light": "resources/light/vscode.svg",
"dark": "resources/dark/vscode.svg"
}
},
{
"command": "ionic-official.webEditorSelected",
"title": "Open in a VS Code window",
"icon": {
"light": "resources/light/vscode-select.svg",
"dark": "resources/dark/vscode-select.svg"
}
},
{
"command": "ionic-official.webDebugConfig",
"title": "Web Debug Configuration",
"icon": {
"light": "resources/light/more.svg",
"dark": "resources/dark/more.svg"
}
},
{
"command": "ionic-official.selectAction",
"title": "Select an action",
"icon": {
"light": "resources/light/more.svg",
"dark": "resources/dark/more.svg"
}
},
{
"command": "ionic-official.selectDevice",
"title": "Select device to run",
"icon": "$(device-mobile)"
},
{
"command": "ionic-official.runMode",
"title": "Switch to run mode",
"icon": {
"light": "resources/light/run.svg",
"dark": "resources/dark/run.svg"
}
},
{
"command": "ionic-official.upgrade",
"title": "Upgrade",
"icon": {
"light": "resources/light/more.svg",
"dark": "resources/dark/more.svg"
}
}
],
"menus": {
"commandPalette": [
{
"command": "ionic-official.skipLogin",
"when": "false"
},
{
"command": "ionic-official.refresh",
"when": "false"
},
{
"command": "ionic-official.fix",
"when": "false"
},
{
"command": "ionic-official.open",
"when": "false"
},
{
"command": "ionic-official.rebuild",
"when": "false"
},
{
"command": "ionic-official.refreshDebug",
"when": "false"
},
{
"command": "ionic-official.function",
"when": "false"
},
{
"command": "ionic-official.buildConfig",
"when": "false"
},
{
"command": "ionic-official.webOpenBrowser",
"when": "false"
},
{
"command": "ionic-official.liveReload",
"when": "false"
},
{
"command": "ionic-official.webNexus",
"when": "false"
},
{
"command": "ionic-official.webEditor",
"when": "false"
},
{
"command": "ionic-official.webDebugConfig",
"when": "false"
},
{
"command": "ionic-official.selectAction",
"when": "false"
},
{
"command": "ionic-official.selectDevice",
"when": "false"
},
{
"command": "ionic-official.runMode",
"when": "false"
},
{
"command": "ionic-official.lightbulb",
"when": "false"
},
{
"command": "ionic-official.upgrade",
"when": "false"
},
{
"command": "ionic-official.stop",
"when": "false"
}
],
"view/title": [
{
"command": "ionic-official.refresh",
"when": "view == ionic-tree",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "ionic-official.add",
"when": "view == ionic-tree && viewItem == packages",
"group": "inline"
},
{
"command": "ionic-official.lightbulb",
"when": "view == ionic-tree && viewItem == lightbulb",
"group": "inline"
},
{
"command": "ionic-official.stop",
"when": "view == ionic-tree && viewItem == stop",
"group": "inline"
},
{
"command": "ionic-official.open",
"when": "view == ionic-tree && viewItem == asset",
"group": "inline"
},
{
"command": "ionic-official.rebuild",
"when": "view == ionic-tree && viewItem == rebuild",
"group": "inline"
},
{
"command": "ionic-official.refreshDebug",
"when": "view == ionic-tree && viewItem == refreshDebug",
"group": "inline"
},
{
"command": "ionic-official.upgrade",
"when": "view == ionic-tree && viewItem == upgrade",
"group": "inline"
},
{
"command": "ionic-official.buildConfig",
"when": "view == ionic-tree && viewItem == buildConfig",
"group": "inline"
},
{
"command": "ionic-official.liveReload",
"when": "view == ionic-tree && viewItem == selectDevice && !liveReload",
"group": "inline"
},
{
"command": "ionic-official.liveReloadSelected",
"when": "view == ionic-tree && viewItem == selectDevice && liveReload",
"group": "inline"
},
{
"command": "ionic-official.webOpenBrowser",
"when": "view == ionic-tree && viewItem == webConfig && webConfig !== WebConfigWebBrowser && webConfig",
"group": "inline"
},
{
"command": "ionic-official.webOpenBrowserSelected",
"when": "view == ionic-tree && viewItem == webConfig && (webConfig == WebConfigWebBrowser || !webConfig)",
"group": "inline"
},
{
"command": "ionic-official.webNexus",
"when": "view == ionic-tree && viewItem == webConfig && webConfig !== WebConfigNexusBrowser",
"group": "inline"
},
{
"command": "ionic-official.webNexusSelected",
"when": "view == ionic-tree && viewItem == webConfig && webConfig == WebConfigNexusBrowser",
"group": "inline"
},
{
"command": "ionic-official.webEditor",
"when": "view == ionic-tree && viewItem == webConfig && webConfig !== WebConfigEditor",
"group": "inline"
},
{
"command": "ionic-official.webEditorSelected",
"when": "view == ionic-tree && viewItem == webConfig && webConfig == WebConfigEditor",
"group": "inline"
},
{
"command": "ionic-official.webDebugConfig",
"when": "view == ionic-tree && viewItem == webDebugConfig",
"group": "inline"
},
{
"command": "ionic-official.selectAction",
"when": "view == ionic-tree && viewItem == selectAction",
"group": "inline"
},
{
"command": "ionic-official.selectDevice",
"when": "view == ionic-tree && viewItem == selectDevice",
"group": "inline"
}
]
},
"configuration": {
"title": "Ionic",
"properties": {
"ionic.defaultPort": {
"type": "number",
"default": 8100,
"description": "The default port number used when serving your Ionic app (default is 8100)."
},
"ionic.shellPath": {
"type": "string",
"scope": "application",
"default": "",
"description": "Use this option to override the shell used (eg /bin/zsh). Default is /bin/sh or cmd on Windows."
},
"ionic.buildForProduction": {
"type": "boolean",
"default": false,
"description": "Use the production configuration when building the application."
},
"ionic.ignoreIonicCLIConfig": {
"type": "boolean",
"default": false,
"description": "Ignore the settings in Ionic CLI config."
},
"ionic.javaHome": {
"type": "string",
"scope": "application",
"default": "",
"description": "Location of JAVA_HOME. Used to specify how Android will be built"
},
"ionic.internalAddress": {
"type": "boolean",
"scope": "application",
"default": false,
"description": "Whether to avoid using an external IP Address when using Live Reload"
},
"ionic.autoImportIcons": {
"type": "string",
"scope": "workspace",
"enum": [
"yes",
"no",
""
],
"default": "",
"description": "Whether to automatically import ion-icons for this project."
},
"ionic.manualNewProjects": {
"type": "boolean",
"scope": "application",
"default": false,
"description": "Whether to show the new project wizard only when chosen from the command palette"
},
"ionic.adbPath": {
"type": "string",
"scope": "application",
"default": "",
"description": "Location of the Android Debug Bridge (ADB). Used to specify where adb is installed (blank will choose its default location)"
},
"ionic.debugSkipFiles": {
"type": "string",
"scope": "application",
"default": "",
"description": "Array of glob patterns to skip during debugging. Eg: [\"!**/node_modules/**\",\"<node_internals>/**\"]"
}
}
}
},
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"prettier": "@ionic/prettier-config",
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "4.0.0",
"@types/glob": "7.2.0",
"@types/netmask": "^2.0.5",
"@types/node": "18.19.26",
"@types/vscode": "1.65.0",
"@typescript-eslint/eslint-plugin": "5.12.1",
"@typescript-eslint/parser": "5.12.1",
"esbuild": "0.14.23",
"eslint": "^7.32.0",
"husky": "^7.0.0",
"typescript": "5.0.4"
},
"dependencies": {
"@trapezedev/configure": "7.1.3",
"fast-xml-parser": "^3.21.1",
"globule": "1.3.4",
"htmlparser2": "^9.1.0",
"netmask": "2.0.2",
"rimraf": "4.4.1",
"semver": "7.6.3",
"simple-plist": "1.3.0",
"ts-morph": "23.0.0",
"xcode": "3.0.1"
}
}