feat: add root workspace runner

This commit is contained in:
پارسا آقایی 2026-06-12 13:51:10 +03:30
parent 0b698859d9
commit 07b52f464c

View File

@ -1,47 +1,20 @@
{
"name": "react-example",
"name": "caninairan-workspace",
"version": "1.0.0",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --port=5173 --host=0.0.0.0",
"build": "vite build",
"preview": "vite preview",
"clean": "rm -rf dist server.js",
"lint": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@google/genai": "^1.29.0",
"@tailwindcss/vite": "^4.1.14",
"@vitejs/plugin-react": "^5.0.4",
"axios": "^1.16.1",
"dotenv": "^17.2.3",
"express": "^4.21.2",
"lucide-react": "^0.546.0",
"motion": "^12.23.24",
"react": "^19.0.1",
"react-dom": "^19.0.1",
"sonner": "^2.0.7",
"vite": "^6.2.3",
"zustand": "^5.0.13"
"install:all": "npm install && cd backend && npm install && cd ../frontend/application && npm install && cd ../admin-panel && npm install",
"dev:backend": "cd backend && npm run start:dev",
"dev:frontend": "cd frontend/application && npm run dev",
"dev:admin": "cd frontend/admin-panel && npm run dev",
"dev": "concurrently -c \"blue,magenta,green\" -n \"backend,store,admin\" \"npm run dev:backend\" \"npm run dev:frontend\" \"npm run dev:admin\"",
"build:backend": "cd backend && npm run build",
"build:frontend": "cd frontend/application && npm run build",
"build:admin": "cd frontend/admin-panel && npm run build",
"build": "npm run build:backend && npm run build:frontend && npm run build:admin",
"start": "concurrently -c \"blue,magenta,green\" -n \"backend,store,admin\" \"cd backend && npm run start:prod\" \"cd frontend/application && npm run start\" \"cd frontend/admin-panel && npm run preview\""
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/express": "^4.17.21",
"@types/node": "^22.14.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.21",
"esbuild": "^0.25.0",
"jsdom": "^29.1.1",
"tailwindcss": "^4.1.14",
"tsx": "^4.21.0",
"typescript": "~5.8.2",
"vite": "^6.2.3",
"vitest": "^4.1.7"
"concurrently": "^8.2.2"
}
}