build(ide): add build tasks for convenience

This commit is contained in:
Lukas Obermann
2023-06-10 00:14:52 +02:00
parent 269c8ed114
commit f87c54bcd5
+39
View File
@@ -0,0 +1,39 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "watch typescript",
"type": "typescript",
"tsconfig": "tsconfig.json",
"option": "watch",
"isBackground": true,
"problemMatcher": [
"$tsc-watch"
],
"group": "build",
"presentation": {
"group": "watch"
}
},
{
"label": "watch schema",
"type": "shell",
"command": "npm run watch:schema",
"isBackground": true,
"group": "build",
"presentation": {
"group": "watch"
}
},
{
"label": "watch",
"dependsOn": ["watch typescript", "watch schema"],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}