cb56698836
- 新增 Tauri 自动更新(updater 插件) - Rust: 集成 tauri-plugin-updater + tauri-plugin-process - 后端: app_releases / release_packages 表 + /update/check API - 前端: UpdateDialog 组件 + useUpdater hook + SystemUpdate 手动检查 - 发版脚本: scripts/publish_release.py(扫描 .sig → 上传七牛云 → 写入数据库) - 配置 test 环境域名 dev.tapi.meijiaka.cn - 草稿箱删除功能 - DraftListItem 添加删除按钮 - MyWorks 添加删除确认弹窗 + localProjectApi.deleteProject 调用 - 创作主题分类本地缓存 - scriptApi.getCategoriesCached() 先读 localStorage 再静默刷新 - TermsModal tab 居中 - 更新应用图标(Big Sur 风格圆角矩形) - 清理: 删除未使用文件 create_user.py / video-replace-mvp.py / DEPS_*.md
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "tauri-app",
|
|
"private": true,
|
|
"version": "1.5.15",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest --coverage",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\"",
|
|
"stylelint": "stylelint \"src/**/*.css\"",
|
|
"stylelint:fix": "stylelint \"src/**/*.css\" --fix"
|
|
},
|
|
"dependencies": {
|
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
"@tanstack/react-virtual": "^3.13.23",
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-dialog": "^2.7.0",
|
|
"@tauri-apps/plugin-fs": "^2.5.0",
|
|
"@tauri-apps/plugin-opener": "^2",
|
|
"@tauri-apps/plugin-process": "^2.3.1",
|
|
"@tauri-apps/plugin-updater": "^2.10.1",
|
|
"date-fns": "^4.1.0",
|
|
"fabric": "^7.3.1",
|
|
"immer": "^11.1.4",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.1.0",
|
|
"react-day-picker": "^10.0.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-router-dom": "^7.13.1",
|
|
"swr": "^2.4.1",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@vitejs/plugin-react": "^4.6.0",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"jsdom": "^29.0.1",
|
|
"prettier": "^3.2.5",
|
|
"stylelint": "^16.2.1",
|
|
"stylelint-config-standard": "^36.0.0",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.58.0",
|
|
"vite": "^7.3.2",
|
|
"vitest": "^4.1.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0",
|
|
"npm": ">=10.0.0"
|
|
}
|
|
}
|