mirror of
https://github.com/666ghj/MiroFish.git
synced 2026-04-28 14:44:41 +00:00
- Modified the backend setup script to clear the virtual environment before installation. - Improved README.md by restructuring the prerequisites section into a table for better readability. - Added installation instructions for the `uv` package and clarified terminal requirements post-installation.
20 lines
710 B
JSON
20 lines
710 B
JSON
{
|
|
"name": "mirofish",
|
|
"version": "1.0.0",
|
|
"description": "MiroFish - 简洁通用的群体智能引擎,预测万物",
|
|
"scripts": {
|
|
"setup": "npm install && cd frontend && npm install",
|
|
"setup:backend": "cd backend && uv venv --clear && uv pip install -r requirements.txt",
|
|
"setup:all": "npm run setup && npm run setup:backend",
|
|
"dev": "concurrently -n \"backend,frontend\" -c \"yellow,cyan\" \"npm run backend\" \"npm run frontend\"",
|
|
"backend": "cd backend && uv run python run.py",
|
|
"frontend": "cd frontend && npm run dev",
|
|
"build": "cd frontend && npm run build"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.1.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|