123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- {
- "name": "jingmiao",
- "private": true,
- "version": "0.0.2",
- "main": "dist-electron/main/index.js",
- "scripts": {
- "dev": "vite",
- "build": "rimraf dist-electron && vite build && electron-builder",
- "build:win": "rimraf dist-electron && vite build && electron-builder --win",
- "tscBuild": "tsc && rimraf dist-electron && vite build && electron-builder",
- "vitebuild": "vite build",
- "serve": "vite preview"
- },
- "dependencies": {
- "@ant-design/icons": "^5.5.1",
- "antd": "^5.22.1",
- "axios": "^1.7.7",
- "cookie-parser": "^1.4.7",
- "cors": "^2.8.5",
- "dayjs": "^1.11.13",
- "electron-log": "^5.2.2",
- "electron-store": "^8.2.0",
- "express": "^4.21.1",
- "express-session": "^1.18.1",
- "jingmiao": "file:",
- "lucide-react": "^0.486.0",
- "nprogress": "^0.2.0",
- "qs": "^6.13.0",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
- "react-router-dom": "^6.28.0",
- "sass": "1.69.5",
- "sky": "file:",
- "zustand": "^5.0.3"
- },
- "devDependencies": {
- "@eslint/js": "^9.14.0",
- "@types/react": "^18.3.12",
- "@types/react-dom": "^18.3.1",
- "@vitejs/plugin-react": "^4.3.3",
- "autoprefixer": "^10.4.20",
- "electron": "^22.3.27",
- "electron-builder": "^25.1.8",
- "eslint": "^9.14.0",
- "eslint-plugin-react-hooks": "^5.0.0",
- "eslint-plugin-react-refresh": "^0.4.14",
- "globals": "^15.12.0",
- "rimraf": "^6.0.1",
- "tailwindcss": "^3.4.14",
- "typescript": "~5.6.3",
- "typescript-eslint": "^8.14.0",
- "vite": "^5.4.11",
- "vite-plugin-compression": "^0.5.1",
- "vite-plugin-electron": "^0.28.8",
- "vite-plugin-electron-renderer": "^0.14.6"
- },
- "build": {
- "appId": "com.electron.electronvitereact",
- "productName": "jingmiao",
- "asar": true,
- "copyright": "Copyright © 2022 electron",
- "directories": {
- "output": "release/${version}"
- },
- "files": [
- "./package.json",
- "./dist-electron"
- ],
- "mac": {
- "artifactName": "${productName}_${version}.${ext}",
- "target": [
- "dmg"
- ]
- },
- "win": {
- "icon": "public/logo.ico",
- "target": [
- {
- "target": "nsis",
- "arch": [
- "x64"
- ]
- }
- ],
- "artifactName": "${productName}_${version}.${ext}"
- },
- "nsis": {
- "oneClick": false,
- "allowElevation": true,
- "allowToChangeInstallationDirectory": true,
- "installerIcon": "public/logo.ico",
- "uninstallerIcon": "public/logo.ico",
- "installerHeader": "public/logo.ico",
- "installerHeaderIcon": "public/logo.ico",
- "uninstallDisplayName": "${productName}${version}",
- "createDesktopShortcut": true,
- "createStartMenuShortcut": true,
- "shortcutName": "菁苗健康",
- "deleteAppDataOnUninstall": false,
- "runAfterFinish": true,
- "menuCategory": false
- },
- "releaseInfo": {
- "releaseNotes": "版本更新的具体内容"
- }
- }
- }
|