1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| { "name": "font-spider-shell", "private": true, "version": "0.0.0", "main": "electron/main.js", "build": { "appId": "com.your-website.your-app", "productName": "ElectronApp", "copyright": "Copyright © 2021 <your-name>", "mac": { "category": "public.app-category.utilities" }, "nsis": { "oneClick": false, "allowToChangeInstallationDirectory": true }, "files": [ "dist/**/*", "electron/**/*" ], "directories": { "buildResources": "assets", "output": "dist_electron" } }, "scripts": { "dev": "vite", "build": "tsc && vite build", "preview": "vite preview", "electron": "wait-on tcp:11451 && cross-env NODE_ENV=development electron .", "electron:serve": "concurrently -k \"yarn dev\" \"yarn electron\"", "electron:build": "vite build && electron-builder" }, "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@types/node": "^18.15.10", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.11", "@vitejs/plugin-react": "^3.1.0", "concurrently": "^7.6.0", "cross-env": "^7.0.3", "electron": "^23.2.0", "electron-builder": "^23.6.0", "typescript": "^4.9.3", "vite": "^4.2.0", "wait-on": "^7.0.1" } }
|