103 lines
2.3 KiB
JSON
103 lines
2.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"presentation": {
|
|
"echo": false,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "dedicated",
|
|
"showReuseMessage": true
|
|
},
|
|
"tasks": [
|
|
// Compound tasks
|
|
{
|
|
"label": "dev",
|
|
"detail": "Runs all tasks required to run the demo in a single terminal using concurrently. This does not support problem matching.",
|
|
"type": "npm",
|
|
"script": "dev",
|
|
"isBackground": true,
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "dev (separate terminals)",
|
|
"detail": "Runs all tasks required to run the demo in separate terminals. This does support problem matching.",
|
|
"dependsOn": ["demo-server", "tsc", "esbuild", "esbuild-demo-client", "esbuild-demo-server"],
|
|
"group": "build"
|
|
},
|
|
|
|
// Demo
|
|
{
|
|
"label": "demo-server",
|
|
"type": "npm",
|
|
"script": "start",
|
|
"group": "build",
|
|
"isBackground": true,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"group": "xterm-demo"
|
|
}
|
|
},
|
|
|
|
// Build
|
|
{
|
|
"label": "tsc",
|
|
"type": "npm",
|
|
"script": "tsc-watch",
|
|
"group": "build",
|
|
"isBackground": true,
|
|
"problemMatcher": "$tsc-watch",
|
|
"presentation": {
|
|
"group": "xterm-build"
|
|
}
|
|
},
|
|
{
|
|
"label": "esbuild",
|
|
"type": "npm",
|
|
"script": "esbuild-watch",
|
|
"group": "build",
|
|
"isBackground": true,
|
|
"problemMatcher": "$esbuild-watch",
|
|
"presentation": {
|
|
"group": "xterm-build"
|
|
}
|
|
},
|
|
{
|
|
"label": "esbuild-demo-client",
|
|
"type": "npm",
|
|
"script": "esbuild-demo-client-watch",
|
|
"dependsOn": ["esbuild", "tsc"],
|
|
"group": "build",
|
|
"isBackground": true,
|
|
"problemMatcher": "$esbuild-watch",
|
|
"presentation": {
|
|
"group": "xterm-demo"
|
|
}
|
|
},
|
|
{
|
|
"label": "esbuild-demo-server",
|
|
"type": "npm",
|
|
"script": "esbuild-demo-server-watch",
|
|
"dependsOn": ["esbuild", "tsc"],
|
|
"group": "build",
|
|
"isBackground": true,
|
|
"problemMatcher": "$esbuild-watch",
|
|
"presentation": {
|
|
"group": "xterm-demo"
|
|
}
|
|
},
|
|
|
|
// Test
|
|
{
|
|
"type": "npm",
|
|
"script": "test",
|
|
"group":{
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|