Electron Forge restarts the renderer process without fully restarting the Vite dev server, so the browser gets a fresh page with a new hash but the Vite server still has the old pre-bundle cache — mismatch causes the 504 outdated error every other time we launch.
93 lines
4.1 KiB
JSON
93 lines
4.1 KiB
JSON
{
|
|
"name": "Flowy.llink",
|
|
"productName": "Flowy.llink",
|
|
"version": "1.5.1",
|
|
"description": "Flowy.llink is a video messaging app for teams",
|
|
"main": ".vite/build/main.js",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "cross-env vite optimize -c vite.main.config.ts && electron-forge start",
|
|
"package:mac": "APP_ENV=prod electron-forge package --arch=arm64 && APP_ENV=prod electron-forge package --arch=x64",
|
|
"package:win": "cross-env APP_ENV=prod electron-forge package --platform=win32 --arch=x64",
|
|
"make:mac": "APP_ENV=prod electron-forge make --arch=arm64 && APP_ENV=prod electron-forge make --arch=x64",
|
|
"make:win": "cross-env APP_ENV=prod electron-forge make --platform=win32 --arch=x64",
|
|
"publish:win": "cross-env APP_ENV=prod electron-forge publish --platform=win32 --arch=x64",
|
|
"publish:mac": "echo '\n⚠️ Have you bumped the version in package.json? (current: '$(node -p \"require('./package.json').version\")') [y/N]' && read -r answer && [ \"$answer\" = \"y\" ] && APP_ENV=prod electron-forge publish --arch=arm64 && APP_ENV=prod electron-forge publish --arch=x64",
|
|
"invalidate-gcs-cache": "gsutil setmeta -h 'Cache-Control:no-cache, no-store, must-revalidate' gs://flowy-releases/llink/darwin/arm64/RELEASES.json && gsutil setmeta -h 'Cache-Control:no-cache, no-store, must-revalidate' gs://flowy-releases/llink/darwin/x64/RELEASES.json && gsutil setmeta -h 'Cache-Control:no-cache, no-store, must-revalidate' gs://flowy-releases/llink/win32/x64/RELEASES",
|
|
"lint": "eslint --ext .ts,.tsx .",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"typecheck": "npx tsc --noEmit",
|
|
"web:dev": "cross-env APP_ENV=dev vite --config vite.web.config.mts",
|
|
"web:build": "cross-env APP_ENV=prod vite build --config vite.web.config.mts",
|
|
"web:build:ci": "vite build --config vite.web.config.mts",
|
|
"web:preview": "vite preview --config vite.web.config.mts"
|
|
},
|
|
"keywords": [],
|
|
"author": {
|
|
"name": "talksik",
|
|
"email": "[email protected]"
|
|
},
|
|
"license": "MIT",
|
|
"packageManager": "[email protected]",
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "^7.11.1",
|
|
"@electron-forge/maker-deb": "^7.11.1",
|
|
"@electron-forge/maker-rpm": "^7.11.1",
|
|
"@electron-forge/maker-squirrel": "^7.11.1",
|
|
"@electron-forge/maker-zip": "^7.11.1",
|
|
"@electron-forge/plugin-auto-unpack-natives": "^7.11.1",
|
|
"@electron-forge/plugin-fuses": "^7.11.1",
|
|
"@electron-forge/plugin-vite": "^7.11.1",
|
|
"@electron-forge/publisher-gcs": "^7.11.1",
|
|
"@electron/fuses": "^1.8.0",
|
|
"@tailwindcss/vite": "^4.2.0",
|
|
"@tanstack/eslint-plugin-query": "^5.91.4",
|
|
"@types/electron-squirrel-startup": "^1.0.2",
|
|
"@types/node": "^25.3.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.4",
|
|
"cross-env": "^10.1.0",
|
|
"electron": "40.6.0",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"prettier": "^3.8.3",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.60.0",
|
|
"vite": "^5.4.21"
|
|
},
|
|
"dependencies": {
|
|
"@livekit/components-react": "^2.9.20",
|
|
"@livekit/components-styles": "^1.2.0",
|
|
"@milkdown/crepe": "^7.21.1",
|
|
"@sentry/electron": "^7.11.0",
|
|
"@sentry/react": "^10.54.0",
|
|
"@tanstack/react-query": "^5.90.21",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"electron-squirrel-startup": "^1.0.1",
|
|
"firebase": "^12.10.0",
|
|
"livekit-client": "^2.18.0",
|
|
"lucide-react": "^0.575.0",
|
|
"next-themes": "^0.4.6",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-error-boundary": "^6.1.1",
|
|
"react-router-dom": "^7.13.0",
|
|
"react-use": "^17.6.0",
|
|
"shadcn": "^3.8.5",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tailwindcss": "^4.2.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"update-electron-app": "^3.1.2",
|
|
"zod": "^4.3.6",
|
|
"zustand": "^5.0.11"
|
|
}
|
|
}
|