feat: electron desktop packaging, CDN asset migration, production docs, scene JSON spec

This commit is contained in:
2026-06-09 23:20:27 +08:00
parent 48fb89449a
commit 3a7dd2f405
35 changed files with 900 additions and 135 deletions

View File

@@ -6,14 +6,15 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview"
"preview": "vite preview",
"pack:html": "node scripts/pack-html.mjs",
"pack:mac": "vite build && cd electron && npx @electron/packager . MyGame --platform=darwin --arch=arm64,x64 --out ../release",
"pack:win": "vite build && cd electron && npx @electron/packager . MyGame --platform=win32 --arch=x64 --out ../release"
},
"dependencies": {
"@types/dagre": "^0.7.54",
"@vue-flow/background": "^1.3.2",
"@vue-flow/controls": "^1.1.3",
"@vue-flow/core": "^1.48.2",
"dagre": "^0.8.5",
"dexie": "^4.4.3",
"pinia": "^2.1.0",
"vue": "^3.4.0"