87 lines
1.9 KiB
JSON
87 lines
1.9 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "npm: start",
|
|
"type": "npm",
|
|
"script": "start",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "typescript",
|
|
"pattern": "$tsc",
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": {
|
|
"regexp": "(.*?)"
|
|
},
|
|
"endsPattern": {
|
|
"regexp": "bundle generation complete"
|
|
}
|
|
}
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "npm: build",
|
|
"type": "npm",
|
|
"script": "build",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"problemMatcher": ["$tsc"]
|
|
},
|
|
{
|
|
"label": "npm: test",
|
|
"type": "npm",
|
|
"script": "test",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "typescript",
|
|
"pattern": "$tsc",
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": {
|
|
"regexp": "(.*?)"
|
|
},
|
|
"endsPattern": {
|
|
"regexp": "bundle generation complete"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Start Chrome for Debugging",
|
|
"type": "shell",
|
|
"command": "google-chrome",
|
|
"args": [
|
|
"--remote-debugging-port=9222",
|
|
"--user-data-dir=${workspaceFolder}/.vscode/chrome-debug-profile",
|
|
"--disable-web-security",
|
|
"--disable-features=VizDisplayCompositor"
|
|
],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"group": "build"
|
|
}
|
|
]
|
|
}
|