131 lines
3.8 KiB
JSON
131 lines
3.8 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Debug",
|
|
"type": "npm",
|
|
"script": "build",
|
|
"problemMatcher": [
|
|
"$gulp-tsc",
|
|
"$node-sass"
|
|
]
|
|
},
|
|
{
|
|
"label": "Release",
|
|
"type": "npm",
|
|
"script": "release",
|
|
"group": "build",
|
|
"problemMatcher": [
|
|
"$gulp-tsc",
|
|
"$node-sass"
|
|
]
|
|
},
|
|
{
|
|
"label": "Watch Debug",
|
|
"type": "npm",
|
|
"script": "watch",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$gulp-tsc",
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "(Starting compilation in watch mode|File change detected. Starting incremental compilation)",
|
|
"endsPattern": "Found \\d+ errors. Watching for file changes."
|
|
}
|
|
},
|
|
{
|
|
"base": "$node-sass",
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "Rebuilding scss-code.",
|
|
"endsPattern": "Rebuilding scss-code finished."
|
|
}
|
|
}
|
|
],
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
{
|
|
"label": "Watch Release",
|
|
"type": "npm",
|
|
"script": "watch-release",
|
|
"group": "build",
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$gulp-tsc",
|
|
"background": {
|
|
"activeOnStart": false,
|
|
"beginsPattern": "^(Starting compilation in watch mode|File change detected. Starting incremental compilation)",
|
|
"endsPattern": "^Found \\d+ errors. Watching for file changes."
|
|
}
|
|
},
|
|
{
|
|
"base": "$node-sass",
|
|
"background": {
|
|
"activeOnStart": false,
|
|
"beginsPattern": "^Rebuilding scss-code.",
|
|
"endsPattern": "^Rebuilding scss-code finished."
|
|
}
|
|
}
|
|
],
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
{
|
|
"label": "Stop Debug",
|
|
"type": "npm",
|
|
"script": "stop",
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
{
|
|
"label": "Stop Release",
|
|
"type": "npm",
|
|
"script": "stop-release",
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
{
|
|
"label": "Rebuild",
|
|
"type": "npm",
|
|
"script": "rebuild",
|
|
"problemMatcher": [
|
|
"$gulp-tsc",
|
|
"$node-sass"
|
|
]
|
|
},
|
|
{
|
|
"label": "Rebuild Release",
|
|
"type": "npm",
|
|
"script": "rebuild-release",
|
|
"problemMatcher": [
|
|
"$gulp-tsc",
|
|
"$node-sass"
|
|
]
|
|
},
|
|
{
|
|
"label": "Lint",
|
|
"type": "npm",
|
|
"script": "lint-ide",
|
|
"problemMatcher": "$eslint-stylish",
|
|
"presentation": {
|
|
"reveal": "never"
|
|
}
|
|
}
|
|
]
|
|
}
|