65 lines
1.5 KiB
JSON
65 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "tsc: build - tsconfig.json",
|
|
"type": "shell",
|
|
"command": "tsc",
|
|
"args": ["-p", "tsconfig.json"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "typescript",
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(.+?)\\((\\d+),(\\d+)\\): (.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"detail": "Generated task by TypeScript."
|
|
},
|
|
{
|
|
"label": "Start Frontend",
|
|
"type": "npm",
|
|
"script": "start",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "custom",
|
|
"pattern": {
|
|
"regexp": "^$"
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "Starting the development server",
|
|
"endsPattern": "Compiled successfully|Failed to compile"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Start Backend",
|
|
"type": "npm",
|
|
"script": "dev",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "custom",
|
|
"pattern": {
|
|
"regexp": "^$"
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": ".*",
|
|
"endsPattern": "Server is running"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |