Files
easy-wallet/frontend/package.json
Davide Grilli 227e9cc356 fix(frontend): harden dev startup against ELECTRON_RUN_AS_NODE and sync lockfile name
Unset ELECTRON_RUN_AS_NODE in frontend dev script so Electron runs correctly even when the env var is globally exported.

Align package-lock metadata name from bitcoin-address-generator to wallet-gen.
2026-03-10 13:39:43 +01:00

53 lines
1.3 KiB
JSON

{
"name": "wallet-gen",
"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_RUN_AS_NODE= electron .\"",
"build": "vite build",
"preview": "vite preview",
"dist": "vite build && electron-builder"
},
"build": {
"appId": "com.walletgen.app",
"productName": "wallet-gen",
"icon": "public/icons/icon.png",
"files": ["dist/**", "electron/**"],
"extraResources": [
{ "from": "resources", "to": "." }
],
"directories": {
"output": "release"
},
"linux": {
"target": "AppImage",
"category": "Finance"
},
"win": {
"target": ["nsis", "portable"]
}
},
"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"
}
}