2015-11-13 21:39:38 +08:00
|
|
|
{
|
2017-06-22 05:44:32 +08:00
|
|
|
"version": "2.0.0",
|
2015-11-13 21:39:38 +08:00
|
|
|
"tasks": [
|
|
|
|
{
|
2017-06-28 03:44:31 +08:00
|
|
|
"type": "npm",
|
2020-04-16 20:42:52 +08:00
|
|
|
"script": "watchd",
|
2017-06-28 03:44:31 +08:00
|
|
|
"label": "Build VS Code",
|
2019-09-26 15:56:10 +08:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
2017-02-08 16:05:17 +08:00
|
|
|
"isBackground": true,
|
2017-06-28 03:44:31 +08:00
|
|
|
"presentation": {
|
2017-06-22 05:44:32 +08:00
|
|
|
"reveal": "never"
|
|
|
|
},
|
2015-11-13 21:39:38 +08:00
|
|
|
"problemMatcher": {
|
|
|
|
"owner": "typescript",
|
2016-06-08 21:15:16 +08:00
|
|
|
"applyTo": "closedDocuments",
|
2016-03-08 16:03:08 +08:00
|
|
|
"fileLocation": [
|
|
|
|
"absolute"
|
|
|
|
],
|
2015-11-13 21:39:38 +08:00
|
|
|
"pattern": {
|
2016-07-12 23:12:38 +08:00
|
|
|
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
2015-11-13 21:39:38 +08:00
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
},
|
2017-05-31 22:41:58 +08:00
|
|
|
"background": {
|
2016-07-12 23:12:38 +08:00
|
|
|
"beginsPattern": "Starting compilation",
|
|
|
|
"endsPattern": "Finished compilation"
|
2015-11-13 21:39:38 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-04-16 20:42:52 +08:00
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "kill-watchd",
|
|
|
|
"label": "Kill Build VS Code",
|
|
|
|
"group": "build",
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
},
|
|
|
|
"problemMatcher": "$tsc"
|
|
|
|
},
|
2017-06-22 05:44:32 +08:00
|
|
|
{
|
2017-11-07 18:53:59 +08:00
|
|
|
"label": "Run tests",
|
2017-06-22 05:44:32 +08:00
|
|
|
"type": "shell",
|
|
|
|
"command": "./scripts/test.sh",
|
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\test.bat"
|
|
|
|
},
|
|
|
|
"group": "test",
|
2017-06-22 23:03:52 +08:00
|
|
|
"presentation": {
|
2017-06-22 05:44:32 +08:00
|
|
|
"echo": true,
|
|
|
|
"reveal": "always"
|
2016-01-15 00:53:55 +08:00
|
|
|
}
|
|
|
|
},
|
2015-11-13 21:39:38 +08:00
|
|
|
{
|
2017-11-07 18:53:59 +08:00
|
|
|
"label": "Run Dev",
|
2017-06-22 05:44:32 +08:00
|
|
|
"type": "shell",
|
|
|
|
"command": "./scripts/code.sh",
|
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\code.bat"
|
2017-08-13 03:21:09 +08:00
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2017-02-15 18:58:33 +08:00
|
|
|
},
|
|
|
|
{
|
2019-10-17 17:32:32 +08:00
|
|
|
"type": "npm",
|
|
|
|
"script": "electron",
|
2017-06-28 03:44:31 +08:00
|
|
|
"label": "Download electron"
|
2017-07-14 16:05:33 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "gulp",
|
|
|
|
"task": "hygiene",
|
|
|
|
"problemMatcher": []
|
2019-08-05 17:47:07 +08:00
|
|
|
},
|
2019-10-16 02:27:17 +08:00
|
|
|
{
|
|
|
|
"type": "shell",
|
2020-06-01 13:27:02 +08:00
|
|
|
"command": "yarn web --no-launch",
|
2019-10-16 02:27:17 +08:00
|
|
|
"label": "Run web",
|
|
|
|
"isBackground": true,
|
|
|
|
"problemMatcher": {
|
|
|
|
"pattern": {
|
|
|
|
"regexp": ""
|
|
|
|
},
|
2019-10-16 18:19:42 +08:00
|
|
|
"background": {
|
|
|
|
"beginsPattern": ".*node .*",
|
2019-10-16 02:27:17 +08:00
|
|
|
"endsPattern": "Web UI available at .*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
}
|
|
|
|
},
|
2020-01-03 17:34:42 +08:00
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "eslint",
|
|
|
|
"problemMatcher": {
|
|
|
|
"source": "eslint",
|
|
|
|
"base": "$eslint-stylish"
|
|
|
|
}
|
|
|
|
}
|
2015-11-13 21:39:38 +08:00
|
|
|
]
|
2019-08-05 17:47:07 +08:00
|
|
|
}
|