{ "name": "dchain-desktop", "version": "2.2.0", "description": "DChain desktop client — Electron shell mirroring the mobile app's functionality with a keyboard-first 3-panel layout.", "private": true, "main": "dist-electron/main.js", "scripts": { "dev": "concurrently -k -n vite,electron -c blue,magenta \"vite --host 127.0.0.1\" \"wait-on http://127.0.0.1:5173 && npm run electron:dev\"", "electron:dev": "npm run build:main && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron dist-electron/main.js", "build": "npm run build:main && vite build && electron-builder", "build:renderer": "vite build", "build:main": "tsc -p electron/tsconfig.json", "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p electron/tsconfig.json" }, "dependencies": { "qrcode": "^1.5.4", "react": "^18.3.1", "react-dom": "^18.3.1", "tweetnacl": "^1.0.3", "tweetnacl-util": "^0.15.1", "zustand": "^5.0.3" }, "devDependencies": { "@types/qrcode": "^1.5.6", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@vitejs/plugin-react": "^4.3.4", "concurrently": "^9.1.0", "cross-env": "^7.0.3", "electron": "^33.2.1", "electron-builder": "^25.1.8", "typescript": "^5.6.3", "vite": "^6.0.3", "wait-on": "^8.0.1" }, "build": { "appId": "com.dchain.desktop", "productName": "DChain", "copyright": "Copyright © 2026 DChain contributors", "asar": true, "artifactName": "${productName}-${version}-${os}-${arch}.${ext}", "files": [ "dist/**/*", "dist-electron/**/*", "!**/*.map", "!**/node_modules/**/test/**", "!**/node_modules/**/tests/**" ], "directories": { "output": "release", "buildResources": "resources" }, "mac": { "target": ["dmg", "zip"], "category": "public.app-category.social-networking", "hardenedRuntime": true, "gatekeeperAssess": false }, "win": { "target": ["nsis", "portable"] }, "nsis": { "oneClick": false, "allowElevation": true, "allowToChangeInstallationDirectory": true, "createDesktopShortcut": true, "createStartMenuShortcut": true }, "linux": { "target": ["AppImage", "deb"], "category": "Network" }, "publish": null } }