Files
geo/apps/desktop-client/package.json
T
root 73dfbbe8b5 perf(desktop): lazy-load renderer routes and pause polling when hidden
Drop the eager Antd global import in favour of unplugin-vue-components
on-demand resolution, async route components, defineAsyncComponent for
the shell/login split, and a dynamic Modal import inside
showClientActionError. Pair that with a visibility-aware runtime poller
that stops the 15s snapshot refresh when the window is hidden and kicks
off an immediate refresh on re-show. Refresh DesktopShell nav with
inline icons and a calmer active/hover treatment, and land
ActionButton/DisclosurePanel/PaginationBar primitives for upcoming
views.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 11:08:09 +08:00

42 lines
1.1 KiB
JSON

{
"name": "@geo/desktop-client",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "out/main/bootstrap.cjs",
"scripts": {
"dev": "unset ELECTRON_RUN_AS_NODE && electron-vite dev --inspect=9229",
"build": "electron-vite build",
"package:mac": "electron-builder --mac --arm64 ",
"test": "vitest run",
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@geo/http-client": "workspace:*",
"@geo/publisher-platforms": "workspace:*",
"@geo/shared-types": "workspace:*",
"@geo/ui-shared": "workspace:*",
"ant-design-vue": "^4.2.6",
"better-sqlite3": "^12.8.0",
"electron-updater": "^6.0.0",
"marked": "^17.0.5",
"pino": "^9.0.0",
"vue": "^3.5.31",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@playwright/test": "^1.0.0",
"@types/node": "^24.0.0",
"@vitejs/plugin-vue": "^5.2.4",
"electron": "41.2.0",
"electron-builder": "^25.0.0",
"electron-vite": "^2.0.0",
"typescript": "^5.9.3",
"unplugin-vue-components": "^32.0.0",
"vite": "^5.4.19",
"vitest": "^2.0.0",
"vue-tsc": "^3.2.6"
}
}