41 lines
675 B
JSON
41 lines
675 B
JSON
|
{
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"type": "npm",
|
||
|
"script": "build",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": [],
|
||
|
"label": "npm: build",
|
||
|
"detail": "npm run clean && tsc && rollup --config"
|
||
|
},
|
||
|
{
|
||
|
"type": "npm",
|
||
|
"script": "install",
|
||
|
"label": "NPM install",
|
||
|
"runOptions": {
|
||
|
"runOn": "folderOpen"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "npm",
|
||
|
"script": "lint",
|
||
|
"problemMatcher": [
|
||
|
"$eslint-stylish"
|
||
|
],
|
||
|
"label": "npm: lint"
|
||
|
},
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "HTTP server",
|
||
|
"command": "http-server -p 5001",
|
||
|
"isBackground": true,
|
||
|
"runOptions": {
|
||
|
"runOn": "folderOpen"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|