- Fix products.service.ts: ingredients -> ingredientList (Prisma relation name) - Fix seed-blogs.ts: template literal refactor (array join) to avoid esbuild parse error - Fix seed-custom.ts: category string -> connectOrCreate relation - Add start-dev.js: sequential startup (backend first, then frontends) - Add Ctrl+V paste upload to admin MediaSelector component - Create missing images/vets/ and images/slider/ directories
21 lines
991 B
JSON
21 lines
991 B
JSON
{
|
|
"name": "caninoiran-workspace",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"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": "node scripts/start-dev.js"
|
|
"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": {
|
|
"concurrently": "^8.2.2"
|
|
}
|
|
}
|