6ef9d95172
- 创建 packages/desktop 模块 - 实现 Tauri 2.0 + React 桌面应用 - 复用 Web 前端代码 - 添加系统托盘功能 - 实现本地文件访问命令 - 配置 Vite + Tauri 集成 - 更新 .gitignore 添加 Rust/Tauri 相关规则
39 lines
998 B
JSON
39 lines
998 B
JSON
{
|
|
"name": "@ai-assistant/desktop",
|
|
"version": "1.0.0",
|
|
"description": "AI Assistant Desktop Application",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tauri dev",
|
|
"dev:vite": "vite",
|
|
"build": "tauri build",
|
|
"build:vite": "tsc && vite build",
|
|
"build:debug": "tauri build --debug",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.1.1",
|
|
"@tauri-apps/plugin-dialog": "^2.2.0",
|
|
"@tauri-apps/plugin-fs": "^2.2.0",
|
|
"@tauri-apps/plugin-shell": "^2.2.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.22.0",
|
|
"zustand": "^4.5.0",
|
|
"lucide-react": "^0.344.0",
|
|
"clsx": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.1.0",
|
|
"@types/react": "^18.3.0",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"autoprefixer": "^10.4.18",
|
|
"postcss": "^8.4.35",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.1.0"
|
|
}
|
|
}
|