Skip to content

Commit ced125f

Browse files
Updated the VSCode tasks file to version 2.0.0
1 parent 3313486 commit ced125f

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

.vscode/tasks.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// VSCode Tasks
2+
// https://code.visualstudio.com/docs/editor/tasks
3+
14
// Available variables which can be used inside of strings.
25
// ${workspaceRoot}: the root folder of the team
36
// ${file}: the current opened file
@@ -7,23 +10,25 @@
710
// ${cwd}: the current working directory of the spawned process
811

912
{
10-
"version": "0.1.0",
13+
"version": "2.0.0",
1114
"command": "npm",
12-
"isShellCommand": true,
13-
"suppressTaskName": true,
1415
"tasks": [
1516
{
16-
"taskName": "lint",
17-
"args": ["run", "lint"],
18-
"showOutput": "always",
19-
"problemMatcher": "$eslint-stylish",
20-
"isBuildCommand": true
17+
"type": "npm",
18+
"script": "lint",
19+
"group": {
20+
"kind": "build",
21+
"isDefault": true
22+
},
23+
"problemMatcher": "$tsc",
2124
},
2225
{
23-
"taskName": "test",
24-
"args": ["run", "mocha"],
25-
"showOutput": "always",
26-
"isTestCommand": true
27-
}
26+
"type": "npm",
27+
"script": "test:node",
28+
"group": {
29+
"kind": "test",
30+
"isDefault": true
31+
},
32+
},
2833
]
2934
}

0 commit comments

Comments
 (0)