53 строки
1.2 KiB
JSON
53 строки
1.2 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "npm",
|
|
"script": "build",
|
|
"group": "build",
|
|
"problemMatcher": ["$ts-checker-webpack", "$ts-checker-eslint-webpack"]
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "lint",
|
|
"group": "build",
|
|
"problemMatcher": ["$eslint-stylish"]
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "watch",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"isBackground": true,
|
|
"problemMatcher": ["$ts-checker-webpack-watch", "$ts-checker-eslint-webpack-watch"]
|
|
},
|
|
{
|
|
"label": "Serve local web extension",
|
|
"dependsOn": ["serve web", "tunnel web"],
|
|
"isBackground": true,
|
|
"problemMatcher": [],
|
|
"presentation": { "group": "vscode-web" }
|
|
},
|
|
{
|
|
"label": "serve web",
|
|
"type": "shell",
|
|
"command": "npx serve --cors -l 5000",
|
|
"isBackground": true,
|
|
"presentation": { "group": "vscode-web" },
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "tunnel web",
|
|
"type": "shell",
|
|
"command": "npx localtunnel -p 5000",
|
|
"isBackground": true,
|
|
"presentation": { "group": "vscode-web" },
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|