-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
16 lines (16 loc) · 1.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"scripts": {
"copy:env:win": "copy DeliverUS-Backend\\.env.example DeliverUS-Backend\\.env && copy DeliverUS-Frontend-Owner\\.env.example DeliverUS-Frontend-Owner\\.env",
"copy:env:bash": "cp DeliverUS-Backend/.env.example DeliverUS-Backend/.env && cp DeliverUS-Frontend-Owner/.env.example DeliverUS-Frontend-Owner/.env",
"install:backend": "npm install && cd DeliverUS-Backend && npm install",
"install:frontend": "cd DeliverUS-Frontend-Owner && npm install",
"migrate:backend": "cd DeliverUS-Backend && npx sequelize-cli db:migrate:undo:all && npx sequelize-cli db:migrate && npx sequelize-cli db:seed:all",
"start:backend": "cd DeliverUS-Backend && nodemon --ignore ./example_api_client/ backend.js",
"start:frontend": "cd DeliverUS-Frontend-Owner && npx cross-env NODE_OPTIONS=--openssl-legacy-provider expo start",
"install:all:win": "npm run copy:env:win && npm run install:backend && npm run migrate:backend && npm run install:frontend",
"install:all:bash": "npm run copy:env:bash && npm run install:backend && npm run migrate:backend && npm run install:frontend"
},
"dependencies": {
"nodemon": "^2.0.22"
}
}