-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
810 lines (810 loc) · 24.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
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
805
806
807
808
809
810
{
"name": "karate-runner",
"displayName": "Karate Runner",
"description": "Open/Run/Debug Karate Tests and Reports by leveraging Codelens, Activity Bar, Debugger and much more.",
"icon": "resources/karate.png",
"repository": {
"type": "git",
"url": "https://github.com/kirksl/karate-runner"
},
"version": "1.2.5",
"appInsightsId": "a285938d-a115-44ea-be2a-588a243d5f2c",
"license": "MIT",
"author": {
"name": "Kirk Slota"
},
"publisher": "kirkslota",
"sponsor": {
"url": "https://github.com/sponsors/kirksl"
},
"engines": {
"vscode": "^1.83.0"
},
"categories": [
"Programming Languages",
"Debuggers",
"Testing",
"Other"
],
"keywords": [
"karatelabs",
"karate",
"intuit",
"rest",
"api",
"gatling"
],
"activationEvents": [
"onLanguage:karate",
"onLanguage:javascript",
"onView:karate-reports",
"onView:karate-tests"
],
"main": "./out/extension",
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"contributes": {
"colors": [
{
"id": "karateRunner.trailingLineBackgroundColor",
"description": "Specifies the background color of the line number annotation for Examples",
"defaults": {
"dark": "#00000000",
"light": "#00000000",
"highContrast": "#00000000"
}
},
{
"id": "karateRunner.trailingLineForegroundColor",
"description": "Specifies the foreground color of the line number annotation for Examples",
"defaults": {
"dark": "#99999959",
"light": "#99999959",
"highContrast": "#99999999"
}
}
],
"viewsContainers": {
"activitybar": [
{
"id": "karate-runner",
"title": "Karate Runner",
"icon": "resources/karate-activitybar.svg"
}
]
},
"views": {
"karate-runner": [
{
"id": "karate-reports",
"name": "Reports",
"when": "workbenchState != empty"
},
{
"id": "karate-tests",
"name": "Tests",
"when": "workbenchState != empty"
},
{
"id": "karate-welcome",
"name": "Welcome",
"when": "workbenchState == empty"
}
]
},
"viewsWelcome": [
{
"view": "karate-welcome",
"contents": "Karate Runner\nIn order to use this extension you must open a folder containing a Karate project or clone from a URL.\n[Open Folder](command:vscode.openFolder)\n[Clone Repository](command:git.clone)\nAdditionally consider leveraging an existing sample project.\n[Karate Sample Projects](https://github.com/karatelabs/karate/tree/master/examples)\n[Karate Runner Sample Project](https://github.com/kirksl/karate-maven-gradle)\nLearn more about [this extension](https://marketplace.visualstudio.com/items?itemName=kirkslota.karate-runner) and [Karate](https://github.com/karatelabs/karate)."
}
],
"commands": [
{
"command": "karateRunner.paste",
"title": "Karate Smart Paste",
"enablement": "editorTextFocus && editorLangId == karate"
},
{
"command": "karateRunner.getDebugPort",
"title": "Get Debug Port"
},
{
"command": "karateRunner.getDebugFile",
"title": "Get File To Debug"
},
{
"command": "karateRunner.getDebugBuildFile",
"title": "Get Build File To Debug"
},
{
"command": "karateRunner.reports.open",
"title": "Open Build Report"
},
{
"command": "karateRunner.reports.refreshTree",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "karateRunner.reports.displayList",
"title": "Display List",
"icon": {
"light": "resources/light/display-tree.svg",
"dark": "resources/dark/display-tree.svg"
}
},
{
"command": "karateRunner.reports.displayTree",
"title": "Display Tree",
"icon": {
"light": "resources/light/display-list.svg",
"dark": "resources/dark/display-list.svg"
}
},
{
"command": "karateRunner.reports.filterTree",
"title": "Filter",
"icon": {
"light": "resources/light/filter.svg",
"dark": "resources/dark/filter.svg"
}
},
{
"command": "karateRunner.tests.setEnvironment",
"title": "Set Environment",
"icon": {
"light": "resources/light/vm.svg",
"dark": "resources/dark/vm.svg"
}
},
{
"command": "karateRunner.tests.clearResults",
"title": "Clear Results",
"icon": {
"light": "resources/light/clear-all.svg",
"dark": "resources/dark/clear-all.svg"
}
},
{
"command": "karateRunner.tests.refreshTree",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "karateRunner.tests.displayList",
"title": "Display List",
"icon": {
"light": "resources/light/display-tag.svg",
"dark": "resources/dark/display-tag.svg"
}
},
{
"command": "karateRunner.tests.displayTree",
"title": "Display Tree",
"icon": {
"light": "resources/light/display-list.svg",
"dark": "resources/dark/display-list.svg"
}
},
{
"command": "karateRunner.tests.displayTag",
"title": "Display Tags",
"icon": {
"light": "resources/light/display-tree.svg",
"dark": "resources/dark/display-tree.svg"
}
},
{
"command": "karateRunner.tests.filterTree",
"title": "Filter",
"icon": {
"light": "resources/light/filter.svg",
"dark": "resources/dark/filter.svg"
}
},
{
"command": "karateRunner.tests.openSettings",
"title": "Open Settings",
"icon": {
"light": "resources/light/gear.svg",
"dark": "resources/dark/gear.svg"
}
},
{
"command": "karateRunner.tests.open",
"title": "Open In Editor",
"icon": {
"light": "resources/light/open-file.svg",
"dark": "resources/dark/open-file.svg"
}
},
{
"command": "karateRunner.tests.run",
"title": "Run Test",
"icon": {
"light": "resources/light/run.svg",
"dark": "resources/dark/run.svg"
}
},
{
"command": "karateRunner.tests.runTag",
"title": "Run All Tests",
"icon": {
"light": "resources/light/run-all.svg",
"dark": "resources/dark/run-all.svg"
}
},
{
"command": "karateRunner.tests.runAll",
"title": "Run All Tests",
"icon": {
"light": "resources/light/run-all.svg",
"dark": "resources/dark/run-all.svg"
}
},
{
"command": "karateRunner.tests.debug",
"title": "Debug Test",
"icon": {
"light": "resources/light/debug-alt-small.svg",
"dark": "resources/dark/debug-alt-small.svg"
}
},
{
"command": "karateRunner.tests.debugAll",
"title": "Debug All Tests",
"icon": {
"light": "resources/light/debug-alt-small.svg",
"dark": "resources/dark/debug-alt-small.svg"
}
},
{
"command": "karateRunner.editor.toggleResultsInGutter",
"title": "Toggle Results In Gutter"
},
{
"command": "karateRunner.editor.alignDataTables",
"title": "Align Data Tables"
}
],
"menus": {
"commandPalette": [
{
"command": "karateRunner.paste",
"when": "false"
}
],
"view/title": [
{
"command": "karateRunner.reports.refreshTree",
"when": "view == karate-reports",
"group": "navigation@1"
},
{
"command": "karateRunner.reports.displayList",
"when": "view == karate-reports && config.karateRunner.reports.activityBarDisplayType =~ /^Tree$|^Deep$/",
"group": "navigation@2"
},
{
"command": "karateRunner.reports.displayTree",
"when": "view == karate-reports && config.karateRunner.reports.activityBarDisplayType =~ /^List$|^Shallow$/",
"group": "navigation@2"
},
{
"command": "karateRunner.reports.filterTree",
"when": "view == karate-reports",
"group": "navigation@3"
},
{
"command": "karateRunner.tests.setEnvironment",
"when": "view == karate-tests",
"group": "navigation@1"
},
{
"command": "karateRunner.tests.clearResults",
"when": "view == karate-tests",
"group": "navigation@2"
},
{
"command": "karateRunner.tests.refreshTree",
"when": "view == karate-tests",
"group": "navigation@3"
},
{
"command": "karateRunner.tests.displayList",
"when": "view == karate-tests && config.karateRunner.tests.activityBarDisplayType == Tag",
"group": "navigation@4"
},
{
"command": "karateRunner.tests.displayTree",
"when": "view == karate-tests && config.karateRunner.tests.activityBarDisplayType =~ /^List$|^Shallow$/",
"group": "navigation@4"
},
{
"command": "karateRunner.tests.displayTag",
"when": "view == karate-tests && config.karateRunner.tests.activityBarDisplayType =~ /^Tree$|^Deep$/",
"group": "navigation@4"
},
{
"command": "karateRunner.tests.filterTree",
"when": "view == karate-tests",
"group": "navigation@5"
},
{
"command": "karateRunner.tests.openSettings",
"when": "view == karate-tests",
"group": "navigation@6"
}
],
"view/item/context": [
{
"command": "karateRunner.tests.runTag",
"when": "view == karate-tests && viewItem == testTag",
"group": "inline"
},
{
"command": "karateRunner.tests.runAll",
"when": "view == karate-tests && viewItem == testDirectory",
"group": "inline"
},
{
"command": "karateRunner.tests.runAll",
"when": "view == karate-tests && viewItem == testFile",
"group": "inline@1"
},
{
"command": "karateRunner.tests.debugAll",
"when": "view == karate-tests && viewItem == testFile",
"group": "inline@2"
},
{
"command": "karateRunner.tests.open",
"when": "view == karate-tests && viewItem == testFile",
"group": "inline@3"
},
{
"command": "karateRunner.tests.open",
"when": "view == karate-tests && viewItem == testFileIgnored",
"group": "inline@1"
},
{
"command": "karateRunner.tests.runAll",
"when": "view == karate-tests && viewItem == testFeature",
"group": "inline@1"
},
{
"command": "karateRunner.tests.debugAll",
"when": "view == karate-tests && viewItem == testFeature",
"group": "inline@2"
},
{
"command": "karateRunner.tests.run",
"when": "view == karate-tests && viewItem == testScenario",
"group": "inline@1"
},
{
"command": "karateRunner.tests.debug",
"when": "view == karate-tests && viewItem == testScenario",
"group": "inline@2"
}
],
"editor/title": [
{
"submenu": "KarateRunner.editor.menu",
"when": "resourceLangId == karate",
"group": "navigation@100"
}
],
"KarateRunner.editor.menu": [
{
"command": "karateRunner.editor.alignDataTables",
"when": "resourceLangId == karate",
"group": "navigation@1"
},
{
"command": "karateRunner.tests.setEnvironment",
"when": "resourceLangId == karate",
"group": "navigation@2"
},
{
"command": "karateRunner.tests.clearResults",
"when": "resourceLangId == karate",
"group": "navigation@3"
},
{
"command": "karateRunner.tests.openSettings",
"when": "resourceLangId == karate",
"group": "navigation@4"
},
{
"command": "karateRunner.editor.toggleResultsInGutter",
"when": "resourceLangId == karate",
"group": "navigation@5"
}
]
},
"submenus": [
{
"id": "KarateRunner.editor.menu",
"label": "Editor Settings",
"icon": {
"dark": "resources/dark/karate-editor.svg",
"light": "resources/light/karate-editor.svg"
}
}
],
"configuration": {
"type": "object",
"title": "Karate Runner",
"properties": {
"karateRunner.core.environment": {
"type": "string",
"default": "",
"description": "Environment to test against. Karate Runner will use this value to set the 'karate.env' system property.",
"scope": "resource"
},
"karateRunner.karateJar.commandLineArgs": {
"type": "string",
"default": "java -cp karate.jar com.intuit.karate.Main",
"description": "Karate.jar command line. Karate Runner will handle setting the command line with the feature file being tested and suffixing the feature file with a ':number' when running individual Scenarios. Only applies when using Karate.jar.",
"scope": "resource"
},
"karateRunner.karateJS.commandLineArgs": {
"type": "string",
"default": "npm run test",
"description": "Karate JS command line. Karate Runner will handle setting the command line with the feature file being tested and suffixing the feature file with a ':number' when running individual Scenarios. Only applies when using Karate JS (i.e. A package.json and your choice of NPM, Yarn, etc.)",
"scope": "resource"
},
"karateRunner.karateCli.overrideKarateRunner": {
"type": "boolean",
"default": false,
"description": "Override Karate Runner utilizing the new Karate Cli. See 'Karate Cli' section within Extension Details in the Marketplace for further information. Only applies when using Maven or Gradle.",
"scope": "resource"
},
"karateRunner.karateCli.commandLineArgs": {
"type": "string",
"default": "",
"description": "Karate Cli command line. Karate Cli specific arguments are specified here as defined at https://github.com/karatelabs/karate/wiki/Debug-Server#karate-options. Only applies when using Maven or Gradle.",
"scope": "resource"
},
"karateRunner.karateRunner.commandLineArgs": {
"type": "string",
"default": "",
"description": "Karate Runner command line. Arguments accepted by Maven or Gradle are specified here such as JVM args. Karate Runner will handle build commands, setting the command line with the feature file being tested and suffixing the feature file with a ':number' when running individual Scenarios. Only applies when using Maven or Gradle.",
"scope": "resource"
},
"karateRunner.karateRunner.default": {
"type": "string",
"default": "",
"description": "Default Karate Runner to use for running Karate tests. Only applies when using Maven or Gradle.",
"scope": "resource"
},
"karateRunner.karateRunner.promptToSpecify": {
"type": "boolean",
"default": true,
"description": "Prompt to specify Karate Runner before running Karate tests. Only applies when using Maven or Gradle.",
"scope": "resource"
},
"karateRunner.buildDirectory.cleanBeforeEachRun": {
"type": "boolean",
"default": true,
"description": "Clean build directory before running Karate tests. Only applies when using Maven or Gradle.",
"scope": "resource"
},
"karateRunner.buildSystem.useWrapper": {
"type": "boolean",
"default": false,
"description": "Use build system wrapper. Only applies when using Maven or Gradle.",
"scope": "resource"
},
"karateRunner.reports.openAfterEachRun": {
"type": "boolean",
"default": false,
"description": "Open reports in default program after running Karate tests.",
"scope": "resource"
},
"karateRunner.reports.toTargetByGlob": {
"type": "string",
"default": "**/{karate-reports/karate-*,**/gatling/*/index,lcov-report/index,jacoco/test/html/index,jacoco/index,cucumber-html-reports/overview-features,surefire-reports/timeline}.htm*",
"description": "Display reports targeted by glob pattern within Activity Bar.",
"scope": "resource"
},
"karateRunner.reports.activityBarDisplayType": {
"type": "string",
"default": "List",
"enum": [
"List",
"Tree"
],
"description": "Display reports as a list (List) or natural directory structure (Tree) within Activity Bar.",
"scope": "resource"
},
"karateRunner.debugger.serverPort": {
"type": "number",
"default": -1,
"description": "Default port number for connecting with debug server. Set to -1 to use dynamic port number.",
"scope": "resource"
},
"karateRunner.debugger.serverPortTimeout": {
"type": "number",
"default": 60,
"description": "Default time (seconds) to wait for debug server to start.",
"scope": "resource"
},
"karateRunner.statusBar.colorOnFailureThreshold": {
"type": "string",
"default": "100%",
"enum": [
"10%",
"20%",
"30%",
"40%",
"50%",
"60%",
"70%",
"80%",
"90%",
"100%"
],
"description": "Color status bar background red when reaching failure threshold.",
"scope": "resource"
},
"karateRunner.executionHistory.limit": {
"type": "number",
"default": 50,
"description": "Maximum number of executions to store and re-execute from Karate status bar.",
"scope": "resource"
},
"karateRunner.tests.toTargetByGlob": {
"type": "string",
"default": "**/src/test/**/*.feature",
"description": "Display Karate tests targeted by glob pattern within Activity Bar.",
"scope": "resource"
},
"karateRunner.tests.toTargetByTag": {
"type": "string",
"default": "",
"description": "Display Karate tests targeted by tags within Activity Bar.",
"scope": "resource"
},
"karateRunner.tests.hideIgnored": {
"type": "boolean",
"default": false,
"description": "Hide Karate tests annotated with @ignore tag within Activity Bar.",
"scope": "resource"
},
"karateRunner.tests.activityBarDisplayType": {
"type": "string",
"default": "List",
"enum": [
"List",
"Tree",
"Tag"
],
"description": "Display Karate tests as a list (List), natural directory structure (Tree) or as a tag list (Tag) within Activity Bar.",
"scope": "resource"
},
"karateRunner.editor.inlineCompletion": {
"type": "boolean",
"default": false,
"description": "Toggle showing inline completion for Karate language (Experimental).",
"scope": "resource"
},
"karateRunner.editor.toggleResultsInGutter": {
"type": "boolean",
"default": true,
"description": "Toggle showing results within the editor's gutter for feature files.",
"scope": "resource"
},
"karateRunner.alignDataTables.PreserveWhitespace": {
"type": "boolean",
"default": true,
"description": "Preserve whitespace within cells when aligning data tables.",
"scope": "resource"
},
"karateRunner.alignDataTables.Indent": {
"type": "number",
"default": 0,
"description": "Number of spaces to indent data table rows from parent (eg Examples: | * table | * set | * replace).",
"scope": "resource"
}
}
},
"breakpoints": [
{
"language": "karate"
}
],
"debuggers": [
{
"type": "karate",
"label": "Karate (debug)",
"configurationAttributes": {
"launch": {
"required": [
"feature",
"karateCli"
],
"properties": {
"feature": {
"type": "string",
"description": "[feature]\n\nThis property is used to find project root if multiple projects are loaded in IDE.\nAdditionally used by Karate Debug Server if [karateOptions] property not specified.\n\nRecommend default setting which finds feature files opened in IDE.",
"default": "^\"\\${command:karateRunner.getDebugFile}\""
},
"karateOptions": {
"type": "string",
"description": "[karateOptions]\n\nThis property is used only by Karate Debug Server.\nOverrides [feature] property to enable advanced debugging and specifying all Karate Options(classpath, threads, tags).",
"default": ""
},
"karateCli": {
"type": "string",
"description": "[karateCli]\n\nThis property specifies the command to start Karate Debug Server.",
"default": "${config:karateRunner.karateJar.commandLineArgs} -d ${command:karateRunner.getDebugPort}"
},
"debugPreStep": {
"type": "string",
"description": "[debugPreStep]\n\nThis property specifies the command Karate Debug Server should run before resuming execution of the debug session.\nTypically used by Karate-Robot to switch focus to the application under test.",
"default": "input(Key.ALT + Key.TAB)"
}
}
}
},
"configurationSnippets": [
{
"label": "Karate (debug): Maven",
"description": "Karate (debug) for a Maven project",
"body": {
"type": "karate",
"name": "Karate (debug): Maven",
"request": "launch",
"feature": "^\"\\${command:karateRunner.getDebugFile}\"",
"karateOptions": "",
"karateCli": "^\"mvn test-compile -f \\\"\\${command:karateRunner.getDebugBuildFile}\\\" exec:java -Dexec.mainClass=com.intuit.karate.cli.Main -Dexec.args=\\\"-d \\${command:karateRunner.getDebugPort}\\\" -Dexec.classpathScope=\\\"test\\\" \\${config:karateRunner.karateRunner.commandLineArgs}\""
}
},
{
"label": "Karate (debug): Gradle",
"description": "Karate (debug) for a Gradle project",
"body": {
"type": "karate",
"name": "Karate (debug): Gradle",
"request": "launch",
"feature": "^\"\\${command:karateRunner.getDebugFile}\"",
"karateOptions": "",
"karateCli": "^\"gradle compileTestJava -b \\\"\\${command:karateRunner.getDebugBuildFile}\\\" karateExecute -DmainClass=com.intuit.karate.cli.Main --args=\\\"-d \\${command:karateRunner.getDebugPort}\\\" \\${config:karateRunner.karateRunner.commandLineArgs}\""
}
},
{
"label": "Karate (debug): NPM",
"description": "Karate (debug) for a NPM project",
"body": {
"type": "karate",
"name": "Karate (debug): NPM",
"request": "launch",
"feature": "^\"\\${command:karateRunner.getDebugFile}\"",
"karateOptions": "",
"karateCli": "^\"npm run test -d -- -d \\${command:karateRunner.getDebugPort} \\${config:karateRunner.karateRunner.commandLineArgs}\""
}
}
]
}
],
"keybindings": [
{
"command": "karateRunner.paste",
"key": "Ctrl+V",
"linux": "Ctrl+Shift+V",
"mac": "Cmd+V",
"when": "editorTextFocus && editorLangId == karate"
},
{
"command": "karateRunner.tests.run",
"args": null,
"key": "Ctrl+R Ctrl+1",
"linux": "Ctrl+Shift+R Ctrl+Shift+1",
"mac": "Cmd+R Cmd+1",
"when": "editorTextFocus && editorLangId == karate"
},
{
"command": "karateRunner.tests.runAll",
"args": null,
"key": "Ctrl+R Ctrl+A",
"linux": "Ctrl+Shift+R Ctrl+Shift+A",
"mac": "Cmd+R Cmd+A",
"when": "editorTextFocus && editorLangId == karate"
}
],
"languages": [
{
"id": "karate",
"icon": {
"light": "./resources/light/karate-file-icon.svg",
"dark": "./resources/dark/karate-file-icon.svg"
},
"aliases": [
"Karate",
"karate"
],
"extensions": [
".feature"
],
"configuration": "./karate-language-configuration.json"
},
{
"id": "karate-json",
"configuration": "./karate-json-language-configuration.json"
}
],
"grammars": [
{
"language": "karate",
"scopeName": "source.karate",
"path": "./syntaxes/karate.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.javascript": "javascript",
"meta.embedded.block.json": "karate-json",
"meta.embedded.block.xml": "xml"
}
},
{
"language": "karate-json",
"scopeName": "source.json.karate",
"path": "./syntaxes/karate-json.tmLanguage.json"
},
{
"scopeName": "source.placeholder.karate",
"path": "./syntaxes/karate-placeholder.tmLanguage.json",
"injectTo": [
"source.karate"
]
},
{
"scopeName": "source.js.karate",
"path": "./syntaxes/karate-js.tmLanguage.json",
"injectTo": [
"source.js",
"source.karate"
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"checktypes": "tsc --noEmit"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^10.0.3",
"@types/node": "^20.8.8",
"@types/vscode": "^1.83.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.52.0",
"glob": "^8.0.3",
"js-yaml": "^4.1.0",
"mocha": "^10.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@vscode/extension-telemetry": "^0.4.9",
"fs-extra": "^11.1.1",
"mkdirp": "^1.0.4",
"open": "^8.2.0",
"parse-curl": "0.2.6",
"rimraf": "^2.6.3"
}
}