-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
14 lines (14 loc) · 1.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"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": "cd DeliverUS-Backend && npm install",
"install:frontend:owner": "cd DeliverUS-Frontend-Owner && npm install",
"migrate:backend": "cd DeliverUS-Backend && npm run migrate",
"test:backend": "npm run migrate:backend && cd DeliverUS-Backend && npm test",
"start:backend": "cd DeliverUS-Backend && npm start",
"start:frontend:owner": "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:owner",
"install:all:bash": "npm run copy:env:bash && npm run install:backend && npm run migrate:backend && npm run install:frontend:owner"
}
}