- 补充 .gitignore:忽略 node_modules/、dist/、bin/、.env、.obsidian/ 等 - 降级 react、react-dom 到 18.3.1,@types/react、@types/react-dom 到 18.x - 与 docs/02-系统架构.md 和 CLAUDE.md 中的 React 18 技术选型保持一致 Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
834 B
JSON
35 lines
834 B
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@ricky0123/vad-web": "^0.0.30",
|
|
"onnxruntime-web": "^1.26.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"uuid": "^14.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/node": "^24.12.3",
|
|
"@types/react": "^18.3.31",
|
|
"@types/react-dom": "^18.3.7",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"eslint": "^10.3.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.6.0",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.59.2",
|
|
"vite": "^8.0.12"
|
|
}
|
|
}
|