完善开发环境配置
This commit is contained in:
27
.vscode/tasks.json
vendored
27
.vscode/tasks.json
vendored
@@ -11,25 +11,24 @@
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "format",
|
||||
"script": "package",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: format",
|
||||
"detail": "prettier --single-quote --print-width 88 --write \"src/**/*.js\""
|
||||
"label": "npm: package",
|
||||
"detail": "webpack --mode production && vsce package"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "watch",
|
||||
"problemMatcher": "$ts-webpack-watch",
|
||||
"isBackground": true,
|
||||
"presentation": {
|
||||
"reveal": "never",
|
||||
"group": "watchers"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
"problemMatcher": [],
|
||||
"label": "npm: watch",
|
||||
"detail": "webpack --mode production --watch"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "format",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: format",
|
||||
"detail": "eslint src --ext ts"
|
||||
},
|
||||
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user