- fix(linux): 使用 ubuntu-20.04 构建并可选上传 AppImage,降低 glibc/内核基线 - fix(windows): 安装器启用 WebView2 下载引导(silent),默认不开启 --disable-gpu - fix(macos): ARM64 构建通用包(zip),覆盖 Intel 与 Apple Silicon - chore(version): bump to v3.1.2(兼容性热修复)
34 lines
904 B
JSON
34 lines
904 B
JSON
{
|
|
"name": "cc-switch",
|
|
"version": "3.1.2",
|
|
"description": "Claude Code & Codex 供应商切换工具",
|
|
"scripts": {
|
|
"dev": "pnpm tauri dev",
|
|
"build": "pnpm tauri build",
|
|
"tauri": "tauri",
|
|
"dev:renderer": "vite",
|
|
"build:renderer": "vite build",
|
|
"typecheck": "tsc --noEmit",
|
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,json}\"",
|
|
"format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,css,json}\""
|
|
},
|
|
"keywords": [],
|
|
"author": "Jason Young",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.8.0",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"prettier": "^3.6.2",
|
|
"typescript": "^5.3.0",
|
|
"vite": "^5.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.8.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
}
|
|
}
|