Files
yuanhe-checkin-electron/package.json
2025-11-20 10:00:02 +08:00

50 lines
1.2 KiB
JSON

{
"name": "yuanhe-checkin-electron",
"version": "1.0.0",
"description": "Electron application compatible with Windows 7",
"main": "electron/main.js",
"scripts": {
"dev": "concurrently \"vite\" \"wait-on tcp:5173 && electron .\"",
"build": "vite build",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^7.9.6"
},
"devDependencies": {
"@types/react": "^19.2.6",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^22.3.27",
"electron-builder": "^24.13.3",
"vite": "^4.5.2",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.yuanhe.checkin",
"productName": "YuanheCheckin",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*"
],
"win": {
"target": [
"nsis",
"portable"
]
}
}
}