45 lines
1,007 B
JSON
45 lines
1,007 B
JSON
|
{
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"label": "run backend",
|
||
|
"type": "shell",
|
||
|
"command": "node",
|
||
|
"args": [
|
||
|
"../pbc/pbc.js"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"label": "build",
|
||
|
"type": "shell",
|
||
|
"command": "yarn",
|
||
|
"args": [
|
||
|
"build"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"label": "serve",
|
||
|
"type": "shell",
|
||
|
"command": "yarn",
|
||
|
"args": [
|
||
|
"run",
|
||
|
"serve"
|
||
|
],
|
||
|
"isBackground": true
|
||
|
},
|
||
|
{
|
||
|
"label": "terminate all tasks",
|
||
|
"command": "echo ${input:terminate}",
|
||
|
"type": "shell",
|
||
|
"problemMatcher": []
|
||
|
}
|
||
|
],
|
||
|
"inputs": [
|
||
|
{
|
||
|
"id": "terminate",
|
||
|
"type": "command",
|
||
|
"command": "workbench.action.tasks.terminate",
|
||
|
"args": "terminateAll"
|
||
|
}
|
||
|
]
|
||
|
}
|