build(desktop): 固化 Tauri 正式构建流程

This commit is contained in:
2026-09-07 20:24:08 +08:00
parent 6da3345852
commit b7149214f2
2 changed files with 128 additions and 0 deletions
+2
View File
@@ -6,6 +6,7 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc -b && vite build",
"desktop:build": "tauri build --no-bundle --features desktop",
"test": "vitest run",
"preview": "vite preview",
"type-check": "vue-tsc --noEmit -p tsconfig.app.json && vue-tsc --noEmit -p tsconfig.node.json",
@@ -49,6 +50,7 @@
"yaml": "^2.9.0"
},
"devDependencies": {
"@tauri-apps/cli": "2.11.1",
"@types/katex": "0.16.8",
"@types/node": "^22.0.0",
"@types/semver": "^7.8.0",