55 строки
1.7 KiB
JSON
55 строки
1.7 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
// Kept for backwards compat for old launch.json files so it's
|
|
// less annoying if moving up to the new build or going back to
|
|
// the old build.
|
|
//
|
|
// This is first because the acutal "npm: build:tests" task
|
|
// below has the same script value, and VS Code ignores labels
|
|
// and deduplicates them.
|
|
// https://github.com/microsoft/vscode/issues/93001
|
|
"label": "gulp: tests",
|
|
"type": "npm",
|
|
"script": "build:tests -- --no-typecheck",
|
|
"group": "build",
|
|
"hide": true,
|
|
"problemMatcher": [
|
|
"$tsc"
|
|
]
|
|
},
|
|
{
|
|
"label": "tsc: watch ./src",
|
|
"type": "shell",
|
|
"command": "node",
|
|
"args": ["${workspaceFolder}/lib/tsc.js", "--build", "${workspaceFolder}/src", "--watch"],
|
|
"group": "build",
|
|
"isBackground": true,
|
|
"problemMatcher": [
|
|
"$tsc-watch"
|
|
]
|
|
},
|
|
{
|
|
"label": "npm: build:compiler",
|
|
"type": "npm",
|
|
"script": "build:compiler",
|
|
"group": "build",
|
|
"problemMatcher": [
|
|
"$tsc"
|
|
]
|
|
},
|
|
{
|
|
"label": "npm: build:tests",
|
|
"type": "npm",
|
|
"script": "build:tests -- --no-typecheck",
|
|
"group": "build",
|
|
"problemMatcher": [
|
|
"$tsc"
|
|
]
|
|
},
|
|
]
|
|
}
|