forked from denoland/vscode_deno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
804 lines (804 loc) · 27.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
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
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
{
"name": "vscode-deno",
"displayName": "Deno",
"description": "A language server client for Deno.",
"author": "Deno Land Inc.",
"license": "MIT",
"version": "3.37.0",
"icon": "deno.png",
"galleryBanner": {
"color": "#3B3738",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/denoland/vscode_deno"
},
"bugs": {
"url": "https://github.com/denoland/vscode_deno/issues"
},
"publisher": "denoland",
"categories": [
"Programming Languages",
"Formatters",
"Linters",
"Debuggers",
"Other"
],
"keywords": [
"deno"
],
"engines": {
"vscode": "^1.60.0"
},
"activationEvents": [
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:markdown",
"onLanguage:json",
"onLanguage:jsonc",
"onDebugInitialConfigurations",
"onDebugResolve:typescript",
"onDebugResolve:typescriptreact",
"onDebugResolve:javascript",
"onDebugResolve:javascriptreact",
"onCommand:deno.client.welcome",
"onCommand:deno.client.enable",
"onCommand:deno.client.disable",
"onCommand:deno.reloadImportRegistries",
"onWebviewPanel:welcomeDeno"
],
"main": "./client/dist/main",
"contributes": {
"breakpoints": [
{
"language": "typescript"
},
{
"language": "javascript"
},
{
"language": "typescriptreact"
},
{
"language": "javascriptreact"
}
],
"debuggers": [
{
"type": "deno",
"label": "Deno",
"runtime": "deno",
"languages": [
"typescript",
"javascript",
"typescriptreact",
"javascriptreact"
]
}
],
"commands": [
{
"command": "deno.client.cacheActiveDocument",
"title": "Cache Dependencies",
"category": "Deno",
"description": "Cache the active workspace document and its dependencies.",
"enablement": "deno:lspReady"
},
{
"command": "deno.reloadImportRegistries",
"title": "Reload Import Registries Cache",
"category": "Deno",
"description": "Reload any cached import registry responses.",
"enablement": "deno:lspReady"
},
{
"command": "deno.client.restart",
"title": "Restart Language Server",
"category": "Deno",
"description": "Restart the Deno language server."
},
{
"command": "deno.client.info",
"title": "Info",
"category": "Deno",
"description": "Provide version info for the language server, this extension and VSCode."
},
{
"command": "deno.client.status",
"title": "Language Server Status",
"category": "Deno",
"description": "Provide a status document of the language server.",
"enablement": "deno:lspReady"
},
{
"command": "deno.client.welcome",
"title": "Welcome",
"category": "Deno",
"description": "Open the welcome page for the Deno extension."
},
{
"command": "deno.client.enable",
"title": "Enable",
"category": "Deno",
"description": "Enable the Deno language server via workspace settings. This isn't necessary if your workspace root contains a `deno.json` file."
},
{
"command": "deno.client.initializeWorkspace",
"title": "Initialize Workspace Configuration",
"category": "Deno",
"description": "Legacy alias for the 'Deno: Enable' command."
},
{
"command": "deno.client.disable",
"title": "Disable",
"category": "Deno",
"description": "Disable the Deno language server via workspace settings."
},
{
"command": "deno.client.runTask",
"title": "Run Task",
"category": "Deno",
"description": "Run a Deno task.",
"icon": "$(run)"
},
{
"command": "deno.client.runSelectedTask",
"title": "Run Task",
"category": "Deno",
"description": "Run the selected Deno task.",
"icon": "$(run)"
},
{
"command": "deno.client.debugTask",
"title": "Run Task (Debug)",
"category": "Deno",
"description": "Run a Deno task in debug mode.",
"icon": "$(debug)"
},
{
"command": "deno.client.openTaskDefinition",
"title": "Open Task Definition",
"category": "Deno",
"description": "Open the definition of a Deno task.",
"icon": "$(symbol-reference)"
},
{
"command": "deno.client.refreshTasks",
"title": "Refresh Tasks",
"category": "Deno",
"description": "Refresh the list of Deno tasks.",
"icon": "$(refresh)"
}
],
"configuration": {
"type": "object",
"title": "Deno",
"properties": {
"deno.enable": {
"type": [
"boolean",
"null"
],
"default": null,
"markdownDescription": "Controls if the Deno Language Server is enabled. When enabled, the extension will disable the built-in VSCode JavaScript and TypeScript language services, and will use the Deno Language Server instead.\n\nIf omitted, your preference will be inferred as true if there is a `deno.json[c]` at your workspace root and false if not.\n\nIf you want to enable only part of your workspace folder, consider using `deno.enablePaths` setting instead.\n\n**Not recommended to be enabled globally.**",
"scope": "resource",
"examples": [
true,
false
]
},
"deno.cacheOnSave": {
"type": "boolean",
"default": true,
"markdownDescription": "Controls if the extension should cache the active document's dependencies on save.",
"scope": "resource",
"examples": [
true,
false
]
},
"deno.disablePaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Disables the Deno Language Server for specific paths. This will leave the built in TypeScript/JavaScript language server enabled for those paths. Takes priority over `deno.enablePaths`.\n\n**Not recommended to be enabled in user settings.**",
"scope": "resource",
"examples": [
[
"./worker"
]
]
},
"deno.enablePaths": {
"type": "array",
"items": {
"type": "string"
},
"default": null,
"markdownDescription": "Enables the Deno Language Server for specific paths, instead of for the whole workspace folder. This will disable the built in TypeScript/JavaScript language server for those paths.\n\nWhen a value is set, the value of `\"deno.enable\"` is ignored.\n\nThe workspace folder is used as the base for the supplied paths. If for example you have all your Deno code in `worker` path in your workspace, you can add an item with the value of `./worker`, and the Deno will only provide diagnostics for the files within `worker` or any of its sub paths.\n\n**Not recommended to be enabled in user settings.**",
"scope": "resource",
"examples": [
[
"./worker"
]
]
},
"deno.path": {
"type": "string",
"default": null,
"markdownDescription": "A path to the `deno` CLI executable. By default, the extension looks for `deno` in the `PATH`, but if set, will use the path specified instead.",
"scope": "window",
"examples": [
"/usr/bin/deno",
"C:\\Program Files\\deno\\deno.exe"
]
},
"deno.cache": {
"type": "string",
"default": null,
"markdownDescription": "A path to the cache directory for Deno. By default, the operating system's cache path plus `deno` is used, or the `DENO_DIR` environment variable, but if set, this path will be used instead.",
"scope": "window"
},
"deno.certificateStores": {
"type": "array",
"items": {
"type": "string"
},
"default": null,
"markdownDescription": "A list of root certificate stores used to validate TLS certificates when fetching and caching remote resources. This overrides the `DENO_TLS_CA_STORE` environment variable if set.",
"scope": "window"
},
"deno.codeLens.implementations": {
"type": "boolean",
"default": false,
"markdownDescription": "Enables or disables the display of code lens information for implementations of items in the code.",
"scope": "resource",
"examples": [
true,
false
]
},
"deno.codeLens.references": {
"type": "boolean",
"default": false,
"markdownDescription": "Enables or disables the display of code lens information for references of items in the code.",
"scope": "resource",
"examples": [
true,
false
]
},
"deno.codeLens.referencesAllFunctions": {
"type": "boolean",
"default": false,
"markdownDescription": "Enables or disables the display of code lens information for all functions in the code.",
"scope": "resource",
"examples": [
true,
false
]
},
"deno.codeLens.test": {
"type": "boolean",
"default": false,
"markdownDescription": "Enables or disables the display of code lenses that allow running of individual tests in the code.",
"scope": "resource"
},
"deno.codeLens.testArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"--allow-all",
"--no-check"
],
"markdownDescription": "Additional arguments to use with the run test code lens. Defaults to `[ \"--allow-all\", \"--no-check\" ]`.",
"scope": "resource"
},
"deno.config": {
"type": "string",
"default": null,
"markdownDescription": "The file path to a configuration file. This is the equivalent to using `--config` on the command line. The path can be either be relative to the workspace, or an absolute path.\n\nIt is recommend you name it `deno.json` or `deno.jsonc`.\n\n**Not recommended to be set globally.**",
"scope": "resource",
"examples": [
"./deno.jsonc",
"/path/to/deno.jsonc",
"C:\\path\\to\\deno.jsonc"
]
},
"deno.documentPreloadLimit": {
"type": "number",
"markdownDescription": "Maximum number of file system entries to traverse when finding scripts to preload into TypeScript on startup. Set this to 0 to disable document preloading.",
"default": 1000,
"scope": "resource",
"examples": [
0,
100,
1000
]
},
"deno.future": {
"type": "boolean",
"markdownDescription": "Enable breaking features likely to be shipped in Deno 2.0.",
"default": false,
"scope": "window",
"examples": [
true,
false
]
},
"deno.importMap": {
"type": "string",
"default": null,
"markdownDescription": "The file path to an import map. This is the equivalent to using `--import-map` on the command line.\n\n[Import maps](https://deno.land/[email protected]/linking_to_external_code/import_maps) provide a way to \"relocate\" modules based on their specifiers. The path can either be relative to the workspace, or an absolute path.\n\n**Not recommended to be set globally.**",
"scope": "resource",
"examples": [
"./import_map.json",
"/path/to/import_map.json",
"C:\\path\\to\\import_map.json"
]
},
"deno.inlayHints.parameterNames.enabled": {
"deprecationMessage": "Use `typescript.inlayHints.parameterNames.enabled` and `javascript.inlayHints.parameterNames.enabled`.",
"type": "string",
"enum": [
"none",
"literals",
"all"
],
"enumDescriptions": [
"Disable inlay hints for parameters.",
"Display inlay hints for literal arguments.",
"Display inlay hints for all literal and non-literal arguments."
],
"default": "none",
"markdownDescription": "Enable/disable inlay hints for parameter names.",
"scope": "resource"
},
"deno.inlayHints.parameterNames.suppressWhenArgumentMatchesName": {
"deprecationMessage": "Use `typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName` and `javascript.inlayHints.parameterNames.suppressWhenArgumentMatchesName`.",
"type": "boolean",
"default": true,
"markdownDescription": "Do not display an inlay hint when the argument name matches the parameter.",
"scope": "resource"
},
"deno.inlayHints.parameterTypes.enabled": {
"deprecationMessage": "Use `typescript.inlayHints.parameterTypes.enabled` and `javascript.inlayHints.parameterTypes.enabled`.",
"type": "boolean",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit parameter types.",
"scope": "resource"
},
"deno.inlayHints.variableTypes.enabled": {
"deprecationMessage": "Use `typescript.inlayHints.variableTypes.enabled` and `javascript.inlayHints.variableTypes.enabled`.",
"type": "boolean",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit variable types.",
"scope": "resource"
},
"deno.inlayHints.variableTypes.suppressWhenTypeMatchesName": {
"deprecationMessage": "Use `typescript.inlayHints.variableTypes.suppressWhenTypeMatchesName` and `javascript.inlayHints.variableTypes.suppressWhenTypeMatchesName`.",
"type": "boolean",
"default": true,
"markdownDescription": "Suppress type hints where the variable name matches the implicit type.",
"scope": "resource"
},
"deno.inlayHints.propertyDeclarationTypes.enabled": {
"deprecationMessage": "Use `typescript.inlayHints.propertyDeclarationTypes.enabled` and `javascript.inlayHints.propertyDeclarationTypes.enabled`.",
"type": "boolean",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit property declarations.",
"scope": "resource"
},
"deno.inlayHints.functionLikeReturnTypes.enabled": {
"deprecationMessage": "Use `typescript.inlayHints.functionLikeReturnTypes.enabled` and `javascript.inlayHints.functionLikeReturnTypes.enabled`.",
"type": "boolean",
"default": false,
"markdownDescription": "Enable/disable inlay hints for implicit function return types.",
"scope": "resource"
},
"deno.inlayHints.enumMemberValues.enabled": {
"deprecationMessage": "Use `typescript.inlayHints.enumMemberValues.enabled` and `javascript.inlayHints.enumMemberValues.enabled`.",
"type": "boolean",
"default": false,
"markdownDescription": "Enable/disable inlay hints for enum values.",
"scope": "resource"
},
"deno.maxTsServerMemory": {
"type": "number",
"markdownDescription": "Maximum amount of memory the TypeScript isolate can use. Defaults to 3072 (3GB).",
"default": 3072,
"scope": "resource"
},
"deno.suggest.autoImports": {
"deprecationMessage": "Use `typescript.suggest.autoImports` and `javascript.suggest.autoImports`.",
"type": "boolean",
"default": true,
"scope": "resource"
},
"deno.suggest.completeFunctionCalls": {
"deprecationMessage": "Use `typescript.suggest.completeFunctionCalls` and `javascript.suggest.completeFunctionCalls`.",
"type": "boolean",
"default": false,
"scope": "resource"
},
"deno.suggest.names": {
"deprecationMessage": "Use `typescript.suggest.names` and `javascript.suggest.names`.",
"type": "boolean",
"default": true,
"scope": "resource"
},
"deno.suggest.paths": {
"deprecationMessage": "Use `typescript.suggest.paths` and `javascript.suggest.paths`.",
"type": "boolean",
"default": true,
"scope": "resource"
},
"deno.suggest.imports.autoDiscover": {
"type": "boolean",
"default": true,
"markdownDescription": "If enabled, when new hosts/origins are encountered that support import suggestions, you will be prompted to enable or disable it. Defaults to `true`.",
"scope": "resource"
},
"deno.suggest.imports.hosts": {
"type": "object",
"default": {
"https://deno.land": true
},
"markdownDescription": "Controls which hosts are enabled for import suggestions.",
"scope": "resource",
"examples": {
"https://deno.land": true
}
},
"deno.testing.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"--allow-all",
"--no-check"
],
"markdownDescription": "Arguments to use when running tests via the Test Explorer. Defaults to `[ \"--allow-all\" ]`.",
"scope": "resource"
},
"deno.tlsCertificate": {
"type": "string",
"default": null,
"markdownDescription": "A path to a PEM certificate to use as the certificate authority when validating TLS certificates when fetching and caching remote resources. This is like using `--cert` on the Deno CLI and overrides the `DENO_CERT` environment variable if set.",
"scope": "window"
},
"deno.unsafelyIgnoreCertificateErrors": {
"type": "array",
"items": {
"type": "string"
},
"default": null,
"markdownDescription": "**DANGER** disables verification of TLS certificates for the hosts provided. There is likely a better way to deal with any errors than use this option. This is like using `--unsafely-ignore-certificate-errors` in the Deno CLI.",
"scope": "window"
},
"deno.unstable": {
"type": "boolean",
"default": false,
"markdownDescription": "Controls if tests will be run with the the `--unstable` flag when running tests via the explorer.\n\n**Not recommended to be enabled globally.**",
"scope": "resource",
"examples": [
true,
false
]
},
"deno.lint": {
"type": "boolean",
"default": true,
"markdownDescription": "Controls if linting information will be provided by the Deno Language Server.\n\n**Not recommended to be enabled globally.**",
"scope": "resource",
"examples": [
true,
false
]
},
"deno.internalDebug": {
"type": "boolean",
"default": false,
"markdownDescription": "Determines if the internal debugging information for the Deno language server will be logged to the _Deno Language Server_ console.",
"scope": "window",
"examples": [
true,
false
]
},
"deno.internalInspect": {
"type": [
"boolean",
"string"
],
"default": false,
"markdownDescription": "Enables the inspector server for the JS runtime used by the Deno Language Server to host its TS server. Optionally provide an address for the inspector listener e.g. \"127.0.0.1:9222\" (default).",
"scope": "window",
"examples": [
true,
false,
"127.0.0.1:9222"
]
},
"deno.logFile": {
"type": "boolean",
"default": false,
"markdownDescription": "Write logs to a file in a project-local directory.",
"scope": "window",
"examples": [
true,
false
]
},
"deno.defaultTaskCommand": {
"type": "string",
"enum": [
"open",
"run"
],
"markdownDescription": "Controls the default action when clicking on a task in the _Deno Tasks sidebar_.",
"scope": "resource",
"default": "open"
}
}
},
"jsonValidation": [
{
"fileMatch": [
"import*map*.json",
"importMap*.json"
],
"url": "./schemas/import_map.schema.json"
},
{
"fileMatch": [
"deno.json",
"deno.jsonc"
],
"url": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json"
},
{
"fileMatch": "deno-import-intellisense.json",
"url": "./schemas/registry-completions.schema.json"
},
{
"fileMatch": "deno.lock",
"url": "./schemas/lockfile.schema.json"
}
],
"languages": [
{
"id": "json",
"filenames": [
"deno.lock"
]
}
],
"problemPatterns": [
{
"name": "deno",
"patterns": [
{
"regexp": "^(warning|error): (?:(\\S+) \\[(?:ERROR|WARN)\\]: )?(.*)$",
"severity": 1,
"code": 2,
"message": 3
},
{
"regexp": "^\\s{4}at\\s.*((?:file|http|https|data|blob):[^:]+):(\\d+):(\\d+)$",
"file": 1,
"line": 2,
"column": 3
}
]
},
{
"name": "deno-test",
"patterns": [
{
"regexp": "^(\\S+:\\s.*)$",
"message": 1
},
{
"regexp": "^\\s{4}at\\s.*((?:file|http|https|data|blob):[^:]+):(\\d+):(\\d+)$",
"file": 1,
"line": 2,
"column": 3
}
]
},
{
"name": "deno-lint",
"patterns": [
{
"regexp": "^\\(([^)]*)\\)\\s(.*)$",
"code": 1,
"message": 2
},
{
"regexp": "^\\s{4}at\\s([^:]+):(\\d+):(\\d+)$",
"file": 1,
"line": 2,
"column": 3
}
]
}
],
"problemMatchers": [
{
"name": "deno",
"owner": "deno-cli",
"source": "deno-cli",
"fileLocation": [
"absolute"
],
"pattern": "$deno"
},
{
"name": "deno-test",
"owner": "deno-test",
"source": "deno-test",
"fileLocation": [
"absolute"
],
"severity": "error",
"pattern": "$deno-test"
},
{
"name": "deno-lint",
"owner": "deno-lint",
"source": "deno-lint",
"fileLocation": [
"absolute"
],
"severity": "warning",
"pattern": "$deno-lint"
}
],
"taskDefinitions": [
{
"type": "deno",
"required": [
"command"
],
"properties": {
"label": {
"type": "string"
},
"command": {
"type": "string",
"description": "The Deno command to run.",
"examples": [
"bundle",
"cache",
"compile",
"lint",
"test"
]
},
"args": {
"type": "array",
"items": {
"type": "string"
},
"description": "Arguments to pass to the command."
},
"env": {
"type": "object",
"patternProperties": {
".+": {
"type": "string"
}
},
"description": "Environment variables to set when executing the command."
}
}
}
],
"typescriptServerPlugins": [
{
"name": "typescript-deno-plugin",
"enableForWorkspaceTypeScriptVersions": true
}
],
"views": {
"explorer": [
{
"id": "denoTasks",
"name": "Deno Tasks",
"icon": "deno-icon.png",
"contextualTitle": "Deno Tasks",
"visibility": "hidden",
"when": "deno:lspReady",
"type": "tree"
}
]
},
"menus": {
"commandPalette": [
{
"command": "deno.client.runTask",
"when": "false"
},
{
"command": "deno.client.debugTask",
"when": "false"
},
{
"command": "deno.client.openTaskDefinition",
"when": "false"
},
{
"command": "deno.client.refreshTasks",
"when": "false"
}
],
"editor/context": [
{
"command": "deno.client.runSelectedTask",
"when": "(resourceFilename == 'deno.json' || resourceFilename == 'deno.jsonc') && resourceScheme == file",
"group": "navigation@+1"
}
],
"view/title": [
{
"command": "deno.client.refreshTasks",
"when": "view == denoTasks",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "deno.client.openTaskDefinition",
"when": "view == denoTasks"
},
{
"command": "deno.client.runTask",
"when": "view == denoTasks && viewItem == script",
"group": "navigation@+2"
},
{
"command": "deno.client.debugTask",
"when": "view == denoTasks && viewItem == script",
"group": "navigation@+3"
},
{
"command": "deno.client.runTask",
"when": "view == denoTasks && viewItem == script",
"group": "inline"
},
{
"command": "deno.client.debugTask",
"when": "view == denoTasks && viewItem == script",
"group": "inline"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm i && npm run esbuild-plugin && npm i && npm run esbuild-base",
"esbuild-base": "esbuild ./client/src/extension.ts --bundle --outfile=client/dist/main.js --external:vscode --format=cjs --platform=node",
"esbuild-plugin": "esbuild ./typescript-deno-plugin/src/index.ts --bundle --outfile=typescript-deno-plugin/dist/index.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-plugin -- --sourcemap && npm run esbuild-base -- --sourcemap",
"test-compile": "tsc -b",
"fmt": "deno fmt .vscode .github client/src media schemas typescript-deno-plugin/src typescript-deno-plugin/*.md docs package.json tsconfig.json README.md CHANGELOG.md",
"lint": "deno lint --unstable client/src typescript-deno-plugin/src docs",
"postinstall": "cd typescript-deno-plugin && npm i && cd ../client && npm i && cd .."
},
"dependencies": {
"typescript-deno-plugin": "./typescript-deno-plugin"
},
"devDependencies": {
"@types/node": "^14.14.25",
"esbuild": "^0.14.23",
"typescript": "^5.0.2"
}
}