Add script for running Electron in development mode and update package.json and main.cjs accordingly
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"dev": "concurrently -k \"npm:dev:backend\" \"npm:dev:renderer\" \"npm:dev:electron\"",
|
||||
"dev:backend": "node scripts/run-backend.cjs",
|
||||
"dev:renderer": "vite --port 5173 --strictPort",
|
||||
"dev:electron": "wait-on http://localhost:5173 tcp:8000 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .",
|
||||
"dev:electron": "node scripts/run-electron-dev.cjs",
|
||||
"build": "vite build",
|
||||
"start": "electron ."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user