VetNet-LCPS / vetcopilot-app /package.json
thomasm291678
VetCopilot-LCPS: LCPS 2.0 本地推理引擎替换 DeepSeek API
793e953
Raw History Blame Contribute Delete
2.84 kB
{
"name": "vetcopilot-app",
"private": true,
"version": "0.2.0-beta",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"electron:dev": "concurrently \"vite\" \"wait-on http://localhost:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .\"",
"electron:build": "vite build && electron-builder --win portable",
"electron:dist": "vite build && electron-builder --win --mac --linux",
"capacitor:sync": "cap sync",
"capacitor:android": "cap add android && cap sync",
"capacitor:ios": "cap add ios && cap sync",
"capacitor:open:android": "cap open android",
"capacitor:open:ios": "cap open ios",
"capacitor:build:android": "cap sync && cap open android",
"mobile:dev": "cross-env CAPACITOR_DEV=true vite --host",
"mobile:build": "vite build && cap sync"
},
"main": "electron/main.cjs",
"dependencies": {
"@capacitor/android": "^8.4.2",
"@capacitor/cli": "^8.4.2",
"@capacitor/core": "^8.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.0",
"recharts": "^3.9.2",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@playwright/test": "^1.61.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"concurrently": "^10.0.3",
"cross-env": "^10.1.0",
"electron": "^43.1.1",
"electron-builder": "^26.15.3",
"jsdom": "^29.1.1",
"postcss": "^8.4.40",
"tailwindcss": "^3.4.7",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite-plugin-pwa": "^1.3.0",
"vitest": "^4.1.10",
"wait-on": "^9.0.10"
},
"build": {
"appId": "com.vetcopilot.app",
"productName": "VetCopilot",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"package.json"
],
"win": {
"target": [
"nsis",
"portable"
],
"icon": "public/pwa-512x512.png",
"artifactName": "VetCopilot-Setup-${version}.${ext}"
},
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "public/pwa-512x512.png",
"artifactName": "VetCopilot-${version}.${ext}"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "public/pwa-512x512.png",
"artifactName": "VetCopilot-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"shortcutName": "VetCopilot"
}
}
}