{ "name": "um-react-electron", "version": "1.0.1", "description": "Unlock Music 音乐解锁 (React) Electron App", "main": "./src/main.js", "author": "dreamfly", "homepage": "https://git.unlock-music.dev/um/um-react", "scripts": { "format": "prettier --write .", "lint": "eslint --ext .js .", "dev": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron .", "start": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron .", "postinstall": "electron-builder install-app-deps", "build": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../", "build:win": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron-builder --win --config -p never", "build:mac": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron-builder --mac --config -p never", "build:linux": "cd um-react && npm run build && cp -r ./dist ../src/renderer && cd ../ && electron-builder --linux --config -p never" }, "dependencies": { "@electron-toolkit/preload": "^2.0.0", "@electron-toolkit/utils": "^2.0.0" }, "devDependencies": { "@electron-toolkit/eslint-config": "^1.0.1", "@electron-toolkit/eslint-config-prettier": "^1.0.1", "electron": "^25.6.0", "electron-builder": "^24.6.3", "eslint": "^8.47.0", "prettier": "^3.0.2" } }