Files
fusion/packages/desktop/package.json
gsxdsm f3c463cb5e feat(FN-1072): add Electron desktop renderer integration
- Add Electron main-process IPC handlers and preload bridges for API proxying, window controls, update install, and platform lookup
- Introduce a desktop renderer entrypoint with DesktopWrapper and a custom frameless TitleBar component
- Add Electron-aware renderer utilities including API transport selection and hooks for runtime detection, auto-update events, and deep links
- Update dashboard header behavior for Electron mode and expand desktop tests across preload, transport, hooks, and title bar flows
- Document the desktop renderer architecture and update desktop package config/dependencies
2026-04-08 00:16:25 -07:00

63 lines
1.3 KiB
JSON

{
"name": "@fusion/desktop",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "src/main.ts",
"engines": {
"node": ">=22.5.0"
},
"scripts": {
"dev": "tsx src/main.ts",
"build": "tsc",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"generate:icons": "tsx scripts/generate-icons.ts",
"pack": "electron-builder",
"dist": "electron-builder --publish never"
},
"build": {
"appId": "com.fusion.desktop",
"productName": "Fusion",
"directories": {
"output": "dist-electron"
},
"mac": {
"category": "public.app-category.developer-tools",
"target": [
"dmg"
]
},
"win": {
"target": [
"nsis"
]
},
"linux": {
"target": [
"AppImage"
]
}
},
"dependencies": {
"electron-updater": "^6.6.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.2",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitest/coverage-v8": "^3.1.0",
"electron": "^35.0.0",
"electron-builder": "^26.0.0",
"jsdom": "^29.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sharp": "^0.33.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vite": "^6.0.0",
"vitest": "^3.1.0"
}
}