10 lines
514 B
JSON
10 lines
514 B
JSON
{
|
|
"name": "app",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"install:all": "npm install && cd frontend && npm install && cd ../backend && npm install",
|
|
"build:production": "npm run install:all && cd frontend && npm run build && rm -rf ../backend/public && cp -r build ../backend/public",
|
|
"start:production": "cd backend && npm run start:prod",
|
|
"start:full-app": "cd backend && npm install && npm run db:migrate && npm run db:seed && node src/index.js & cd ../frontend && npm install && npm start"
|
|
}
|
|
} |