File tree Expand file tree Collapse file tree 2 files changed +14
-30
lines changed
Expand file tree Collapse file tree 2 files changed +14
-30
lines changed Original file line number Diff line number Diff line change 1- // Available variables which can be used inside of strings.
2- // ${workspaceRoot}: the root folder of the team
3- // ${file}: the current opened file
4- // ${fileBasename}: the current opened file's basename
5- // ${fileDirname}: the current opened file's dirname
6- // ${fileExtname}: the current opened file's extension
7- // ${cwd}: the current working directory of the spawned process
8- // A task runner that calls a custom npm script that compiles the extension.
91{
10- "version" : " 0.1.0" ,
11- // we want to run npm
12- "command" : " npm" ,
13- // the command is a shell script
14- "isShellCommand" : true ,
15- // show the output window only if unrecognized errors occur.
16- "showOutput" : " silent" ,
17- // we run the custom script "compile" as defined in package.json
18- "args" : [
19- " run" ,
20- " --loglevel" ,
21- " silent"
22- ],
2+ // See https://go.microsoft.com/fwlink/?LinkId=733558
3+ // for the documentation about the tasks.json format
4+ "version" : " 2.0.0" ,
235 "tasks" : [
246 {
25- "taskName" : " compile" ,
26- "isBuildCommand" : true ,
27- "problemMatcher" : " $tsc"
7+ "type" : " npm" ,
8+ "script" : " build" ,
9+ "problemMatcher" : [
10+ " $tsc"
11+ ]
2812 },
2913 {
30- "taskName " : " watch " ,
31- // The tsc compiler is started in watching mode
32- "isWatching " : true ,
33- // use the standard tsc in watch mode problem matcher to find compile problems in the output.
34- "problemMatcher" : " $tsc-watch "
14+ "type " : " npm " ,
15+ "script" : " watch " ,
16+ "problemMatcher " : [
17+ " $ tsc- watch"
18+ ]
3519 }
3620 ]
3721}
Original file line number Diff line number Diff line change 3939 ],
4040 "main" : " ./out/extension" ,
4141 "scripts" : {
42- "compile " : " tsc -p ." ,
42+ "build " : " tsc -p ." ,
4343 "watch" : " tsc -w -p ." ,
4444 "postinstall" : " node ./node_modules/vscode/bin/install" ,
4545 "lint" : " tslint -c tslint.json \" src/**/*.ts\" "
You can’t perform that action at this time.
0 commit comments