完善开发环境配置

This commit is contained in:
孟宁
2024-11-24 06:33:09 +00:00
parent 428bed52c8
commit e696decaf6
4 changed files with 20 additions and 21 deletions

27
.vscode/tasks.json vendored
View File

@@ -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"
},
]
}