Skip to content

Commit a27c933

Browse files
committed
Improve tasks
1 parent 756ef8d commit a27c933

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.vscode/tasks.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212
},
1313
{
1414
"taskName": "compile",
15+
"isBuildCommand": true,
1516
"problemMatcher": "$tsc"
16-
}
17+
},
18+
{
19+
"taskName": "publish",
20+
"showOutput": "always"
21+
}
1722
]
1823
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
"scripts": {
4040
"compile": "tsc -p ./src",
4141
"watch": "tsc -w -p ./src",
42+
"publish": "vsce publish",
43+
"vscode:prepublish": "npm run compile",
4244
"test": "mocha out/tests"
4345
},
4446
"contributes": {

0 commit comments

Comments
 (0)