chore: Essentials for TS coding

This commit is contained in:
OctoD 2017-05-23 18:41:56 +02:00
parent 09b2ed4ff4
commit 6eb7f91b09
8 changed files with 85 additions and 19 deletions

54
.vscode/tasks.json vendored
View file

@ -7,22 +7,40 @@
// ${cwd}: the current working directory of the spawned process
// A task runner that calls a custom npm script that compiles the extension.
{
"version": "0.1.0",
// we want to run npm
"command": "npm",
// the command is a shell script
"isShellCommand": true,
// show the output window only if unrecognized errors occur.
"showOutput": "silent",
// we run the custom script "compile" as defined in package.json
"args": [
"run",
"compile",
"--loglevel",
"silent"
],
// The tsc compiler is started in watching mode
"isWatching": true,
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
"problemMatcher": "$tsc-watch"
"version": "2.0.0",
// tasks list (build, build-theme, semver etc)
"tasks": [
{
"args": [
"run"
, "build"
],
"isBuildCommand": true,
"command": "npm",
"dependsOn": "tsc",
"echoCommand": true,
"isShellCommand": true,
"taskName": "build"
},
{
"args": [
"run"
, "changelog"
],
"command": "npm",
"echoCommand": true,
"isShellCommand": true,
"taskName": "changelog"
},
{
"args": [
"-p"
, "."
],
"command": "tsc",
"echoCommand": true,
"isShellCommand": true,
"taskName": "tsc"
}
]
}