perf: optimize app startup and background lifecycles
This commit is contained in:
16
package.json
16
package.json
@@ -36,6 +36,7 @@
|
||||
"dev:image-workspace:local": "node scripts/run-local-image-workspace-dev.mjs",
|
||||
"build": "pnpm run sync:learning-player && pnpm run build:vite && node scripts/bundle-opencode.mjs && node scripts/run-electron-builder.mjs",
|
||||
"build:vite": "node --max-old-space-size=6144 ./node_modules/vite/bin/vite.js build",
|
||||
"perf:budget": "node scripts/check-performance-budget.mjs",
|
||||
"bundle:opencode": "node scripts/bundle-opencode.mjs",
|
||||
"sync:learning-player": "node scripts/sync-learning-player.mjs",
|
||||
"lint": "eslint . --fix",
|
||||
@@ -82,33 +83,24 @@
|
||||
"postversion": "node scripts/post-version-push.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gsap/react": "^2.1.2",
|
||||
"@napi-rs/canvas": "0.1.100",
|
||||
"@monaco-editor/react": "^4.7.0",
|
||||
"@playwright/mcp": "0.0.78",
|
||||
"@sinclair/typebox": "^0.34.48",
|
||||
"@types/diff": "^8.0.0",
|
||||
"adm-zip": "0.5.16",
|
||||
"chokidar": "^5.0.0",
|
||||
"diff": "^9.0.0",
|
||||
"electron-store": "^11.0.2",
|
||||
"electron-updater": "^6.8.3",
|
||||
"gsap": "^3.15.0",
|
||||
"katex": "^0.16.45",
|
||||
"koffi": "2.16.3",
|
||||
"lru-cache": "^11.2.6",
|
||||
"monaco-editor": "^0.55.1",
|
||||
"ms": "^2.1.3",
|
||||
"msgpackr": "2.0.5",
|
||||
"node-machine-id": "^1.1.12",
|
||||
"npm": "11.6.2",
|
||||
"pdfjs-dist": "^5.7.284",
|
||||
"posthog-node": "^5.28.0",
|
||||
"rehype-katex": "^7.0.1",
|
||||
"remark-frontmatter": "^5.0.0",
|
||||
"remark-math": "^6.0.0",
|
||||
"tar": "^6.2.1",
|
||||
"ws": "^8.19.0",
|
||||
"xlsx": "^0.18.5",
|
||||
"yaml": "2.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -150,12 +142,11 @@
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"discord-api-types": "^0.38.47",
|
||||
"electron": "40.10.6",
|
||||
"electron": "43.4.0",
|
||||
"electron-builder": "^26.8.1",
|
||||
"eslint": "^10.0.0",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.0",
|
||||
"framer-motion": "^12.34.2",
|
||||
"globals": "^17.3.0",
|
||||
"grammy": "^1.42.0",
|
||||
"https-proxy-agent": "^9.0.0",
|
||||
@@ -180,6 +171,7 @@
|
||||
"tailwind-merge": "^3.5.0",
|
||||
"tailwindcss": "^3.4.19",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"tar": "^6.2.1",
|
||||
"typescript": "^5.9.3",
|
||||
"undici": "8.1.0",
|
||||
"use-stick-to-bottom": "^1.1.3",
|
||||
|
||||
Reference in New Issue
Block a user