forked from garethgeorge/backrest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.json
51 lines (51 loc) · 1 KB
/
tasks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"version": "2.0.0",
"tasks": [
{
"label": "npm i",
"type": "shell",
"command": "cd webui && npm 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"
}
]
}