APP热更新

This commit is contained in:
2026-07-29 10:34:33 +08:00 Unverified
parent 692b521453
commit 93997ea8b1
21 changed files with 8130 additions and 4 deletions
+4 -1
View File
@@ -1,12 +1,13 @@
{
"name": "web",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc -b && vite build",
"build:capacitor": "vue-tsc -b && vite build --mode capacitor",
"ota:package": "npm run build:capacitor && node scripts/package-app-update.mjs",
"preview": "vite preview",
"cap:configure": "node scripts/configure-capacitor.mjs",
"cap:sync": "npx cap sync && npm run cap:configure",
@@ -21,6 +22,7 @@
"@capacitor/core": "^8.4.2",
"@capacitor/geolocation": "^8.2.0",
"@capacitor/ios": "^8.4.2",
"@capgo/capacitor-updater": "^8.51.2",
"@ckeditor/ckeditor5-vue": "^8.2.0",
"@element-plus/icons-vue": "^2.3.2",
"axios": "^1.18.1",
@@ -41,6 +43,7 @@
"@types/qrcode": "1.5.6",
"@vitejs/plugin-vue": "^6.0.7",
"@vue/tsconfig": "^0.9.1",
"archiver": "^8.0.0",
"typescript": "~6.0.2",
"unplugin-auto-import": "^21.0.0",
"unplugin-vue-components": "^32.1.0",