Files
easy-wallet/frontend/package.json
Davide Grilli 301b7ef0ae feat: add Docker build for Windows NSIS installer via Wine
- contrib/windows/Dockerfile: cross-compile using Wine + xvfb;
  installs Python 3.11 for Windows, builds cli.exe with PyInstaller,
  packages Electron app as NSIS installer
- contrib/windows/build.sh: convenience script to run the Docker build
- frontend/electron/main.cjs: resolve cli.exe on win32, cli on other platforms
- frontend/package.json: add win/nsis target; change extraResources to
  bundle resources/ dir so each platform picks its own binary
2026-03-10 09:24:35 +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 .\"",
"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"
}
},
"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"
}
}