mirror of
https://github.com/R0m1k3/EveFlow.git
synced 2026-10-11 17:29:03 +02:00
The preload script imported ../shared/ipc at runtime; sandboxed preloads cannot require local modules, so window.eveflow was never exposed in the installed app and every request fell back to browser fetch (Failed to fetch, LOCALHOST metrics). Main and preload are now bundled with esbuild into single files in dist-electron/. Also: explicit error banner when the bridge is missing inside Electron, and a more precise connection test message (transport path, capabilities status). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017Wn5VX9HNbJ7N54hR24u9Y
82 lines
2.4 KiB
JSON
82 lines
2.4 KiB
JSON
{
|
|
"name": "eveflow",
|
|
"version": "2.0.1",
|
|
"description": "JARVIS-style desktop HUD for Hermes Agent: voice, streaming runs, scheduled jobs, skills and telemetry",
|
|
"main": "dist-electron/main.js",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vite --host 127.0.0.1 --port 5173 --strictPort",
|
|
"build": "npm run typecheck && npm run build:renderer && npm run build:electron",
|
|
"build:renderer": "vite build",
|
|
"build:electron": "node scripts/build-electron.mjs",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.electron.json --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"electron": "electron .",
|
|
"start": "npm run build:electron && concurrently -k -s first \"npm run dev\" \"wait-on http://127.0.0.1:5173 && cross-env NODE_ENV=development VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
|
|
"preview": "vite preview",
|
|
"dist": "npm run build && electron-builder --win --publish never",
|
|
"typecheck:electron": "tsc -p tsconfig.electron.json --noEmit"
|
|
},
|
|
"build": {
|
|
"appId": "com.romik3.eveflow",
|
|
"productName": "EveFlow",
|
|
"copyright": "Copyright © 2026 R0m1k3",
|
|
"asar": true,
|
|
"directories": {
|
|
"output": "out",
|
|
"buildResources": "build"
|
|
},
|
|
"files": [
|
|
"dist-electron/**/*",
|
|
"dist/**/*",
|
|
"package.json"
|
|
],
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "build/icon.png",
|
|
"requestedExecutionLevel": "asInvoker",
|
|
"signAndEditExecutable": false,
|
|
"verifyUpdateCodeSignature": false
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "EveFlow"
|
|
},
|
|
"extraResources": [
|
|
{
|
|
"from": "build/icon.png",
|
|
"to": "icon.png"
|
|
}
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"lucide-react": "^1.40.0",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"react-markdown": "^10.1.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"zustand": "^5.0.15"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.0",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"concurrently": "^10.0.5",
|
|
"cross-env": "^10.0.0",
|
|
"electron": "^44.1.1",
|
|
"electron-builder": "^26.15.3",
|
|
"esbuild": "^0.28.2",
|
|
"jsdom": "^30.0.1",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^8.2.2",
|
|
"vitest": "^5.0.0",
|
|
"wait-on": "^9.1.0"
|
|
}
|
|
}
|