add typescript build task

This commit is contained in:
Florian Dold 2020-08-20 13:54:52 +05:30
parent 57000c2214
commit 4c296c9c5f
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 26 additions and 2 deletions

7
.vscode/tasks.json vendored
View File

@ -5,11 +5,14 @@
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"tsconfig": "tsconfig.build.json",
"problemMatcher": [
"$tsc"
],
"group": "build"
"group": {
"kind": "build",
"isDefault": true,
},
}
]
}

21
tsconfig.build.json Normal file
View File

@ -0,0 +1,21 @@
{
"compileOnSave": true,
"compilerOptions": {
"composite": true,
},
"references": [
{
"path": "packages/idb-bridge/"
},
{
"path": "packages/taler-wallet-core/"
},
{
"path": "packages/taler-integrationtests"
},
{
"path": "packages/taler-wallet-cli"
}
],
"files": []
}