- Add electron, concurrently, wait-on, cross-env to frontend devDependencies - Set "main": "electron/main.cjs" in frontend/package.json - Simplify root package.json dev script - Remove fastapi and uvicorn from requirements.txt
33 lines
894 B
JSON
33 lines
894 B
JSON
{
|
|
"name": "bitcoin-address-generator",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"main": "electron/main.cjs",
|
|
"scripts": {
|
|
"vite": "vite",
|
|
"dev": "concurrently --kill-others -n Vite,Electron \"vite\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron .\"",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.1",
|
|
"concurrently": "^9.2.1",
|
|
"cross-env": "^10.1.0",
|
|
"electron": "^40.8.0",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"vite": "^7.3.1",
|
|
"wait-on": "^9.0.4"
|
|
}
|
|
}
|