mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-03 04:07:54 +08:00
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
|
{
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"label": "Build.Main",
|
||
|
"type": "shell",
|
||
|
"command": "npm run electron:serve-tsc",
|
||
|
"isBackground": false,
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": {
|
||
|
"owner": "typescript",
|
||
|
"source": "ts",
|
||
|
"applyTo": "closedDocuments",
|
||
|
"fileLocation": ["relative", "${cwd}"],
|
||
|
"pattern": "$tsc",
|
||
|
"background": {
|
||
|
"activeOnStart": true,
|
||
|
"beginsPattern": "^.*",
|
||
|
"endsPattern": "^.*Terminal will be reused by tasks, press any key to close it.*"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"label": "Build.Renderer",
|
||
|
"type": "shell",
|
||
|
"command": "npm run ng:serve",
|
||
|
"isBackground": true,
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": {
|
||
|
"owner": "typescript",
|
||
|
"source": "ts",
|
||
|
"applyTo": "closedDocuments",
|
||
|
"fileLocation": ["relative", "${cwd}"],
|
||
|
"pattern": "$tsc",
|
||
|
"background": {
|
||
|
"activeOnStart": true,
|
||
|
"beginsPattern": "^.*",
|
||
|
"endsPattern": "^.*Compiled successfully.*"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|