-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 894 Bytes
/
package.json
File metadata and controls
24 lines (24 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "mynotebook-root",
"version": "1.0.0",
"description": "Root package for MyNotebook project",
"private": true,
"scripts": {
"copy-env": "(grep REACT_APP_MYNOTEBOOK_HOST .env || echo REACT_APP_MYNOTEBOOK_HOST=$REACT_APP_MYNOTEBOOK_HOST) > ./frontend/.env",
"install:backend": "cd backend && npm install && cd ..",
"install:frontend": "cd frontend && npm install && cd ..",
"postinstall": "npm run copy-env &&npm run install:backend && npm run install:frontend",
"build:prod": "cd frontend && cross-env BUILD_PATH=../build npm run build && cd ..",
"build:dev": "npm run build --prefix frontend",
"build": "npm run build:prod",
"server": "npm start --prefix backend",
"start:dev": "npm run server",
"start": "npm run server"
},
"dependencies": {
"cross-env": "^7.0.3"
},
"devDependencies": {
"npm-run-all": "^4.1.5"
}
}