add: vscode setting and prettier config

This commit is contained in:
purp1e
2024-09-21 00:25:20 +08:00
parent 09707cd5f6
commit 2898416add
4 changed files with 127 additions and 0 deletions

31
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,31 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Dev Tauri",
"type": "shell",
"command": "pnpm tauri dev",
"problemMatcher": [
"$vite"
],
},
{
"label": "Build Tauri to nsis installer",
"type": "shell",
"command": "pnpm tauri build -b nsis",
"problemMatcher": [
"$vite"
],
},
{
"label": "Build Tauri",
"type": "shell",
"command": "pnpm tauri build",
"problemMatcher": [
"$vite"
],
}
]
}