78 lines
1.6 KiB
JSON
78 lines
1.6 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"type": "shell",
|
|
"tasks": [
|
|
{
|
|
"label": "start",
|
|
"command": "npm start"
|
|
},
|
|
{
|
|
"label": "test",
|
|
"command": "npm test",
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "tsc watch",
|
|
"type": "typescript",
|
|
"tsconfig": "tsconfig.json",
|
|
"option": "watch",
|
|
"isBackground": true,
|
|
"problemMatcher": [
|
|
"$tsc-watch"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"group": "watch"
|
|
}
|
|
},
|
|
{
|
|
"label": "webpack watch",
|
|
"command": "npm run js:watch",
|
|
"isBackground": true,
|
|
"group": "build",
|
|
"presentation": {
|
|
"group": "watch"
|
|
}
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"dependsOn": ["tsc watch", "webpack watch"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "create prerelease",
|
|
"command": "npm run release:pre",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "build database cache",
|
|
"command": "npm run buildCache",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/src/database/contents"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "create release",
|
|
"command": "npm run release:main",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "git push --follow-tags",
|
|
"command": "git push --follow-tags",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|