mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-05-06 04:50:35 +00:00
52 lines
1.0 KiB
JSON
52 lines
1.0 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "npm i",
|
|
"type": "shell",
|
|
"command": "cd webui && npx --yes pnpm i"
|
|
},
|
|
{
|
|
"label": "Parcel",
|
|
"type": "npm",
|
|
"script": "start",
|
|
"dependsOn": "npm i",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "parcel serve",
|
|
"endsPattern": "Built in"
|
|
},
|
|
"pattern": {
|
|
"regexp": ".*"
|
|
}
|
|
},
|
|
"path": "webui"
|
|
},
|
|
{
|
|
"label": "Build Webui",
|
|
"type": "npm",
|
|
"script": "build",
|
|
"path": "webui",
|
|
"group": "build",
|
|
"problemMatcher": [],
|
|
"dependsOn": "npm i"
|
|
},
|
|
{
|
|
"label": "Terminate Parcel",
|
|
"command": "echo ${input:terminate}",
|
|
"type": "shell",
|
|
"problemMatcher": []
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "terminate",
|
|
"type": "command",
|
|
"command": "workbench.action.tasks.terminate",
|
|
"args": "Parcel"
|
|
}
|
|
]
|
|
}
|