typescript.json

 1{
 2  // See https://go.microsoft.com/fwlink/?LinkId=733558
 3  // for the documentation about the tasks.json format
 4  "version": "2.0.0",
 5  "tasks": [
 6    {
 7      // Kept for backwards compat for old launch.json files so it's
 8      // less annoying if moving up to the new build or going back to
 9      // the old build.
10      //
11      // This is first because the actual "npm: build:tests" task
12      // below has the same script value, and VS Code ignores labels
13      // and deduplicates them.
14      // https://github.com/microsoft/vscode/issues/93001
15      "label": "gulp: tests",
16      "type": "npm",
17      "script": "build:tests:notypecheck",
18      "group": "build",
19      "hide": true,
20      "problemMatcher": ["$tsc"]
21    },
22    {
23      "label": "tsc: watch ./src",
24      "type": "shell",
25      "command": "node",
26      "args": [
27        "${workspaceFolder}/node_modules/typescript/lib/tsc.js",
28        "--build",
29        "${workspaceFolder}/src",
30        "--watch"
31      ],
32      "group": "build",
33      "isBackground": true,
34      "problemMatcher": ["$tsc-watch"]
35    },
36    {
37      "label": "npm: build:compiler",
38      "type": "npm",
39      "script": "build:compiler",
40      "group": "build",
41      "problemMatcher": ["$tsc"]
42    },
43    {
44      "label": "npm: build:tests",
45      "type": "npm",
46      "script": "build:tests:notypecheck",
47      "group": "build",
48      "problemMatcher": ["$tsc"]
49    }
50  ]
51}