feat: electron packaging, build scripts, gitignore and docs update

This commit is contained in:
2026-06-09 23:53:32 +08:00
parent 48fb89449a
commit 25d73f5443
7 changed files with 260 additions and 94 deletions

View File

@@ -6,7 +6,10 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview"
"preview": "vite preview",
"pack:html": "node scripts/pack-html.cjs",
"pack:mac": "npm run build && cd electron && npm run pack:mac",
"pack:win": "npm run build && cd electron && npm run pack:win"
},
"dependencies": {
"@types/dagre": "^0.7.54",