-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/react-native",
"**/react-native/**",
"**/expo",
"**/expo/**",
"**/react-native-elements",
"**/react-native-elements/**",
"**/react-native-typescript-transformer",
"**/react-native-typescript-transformer/**",
"**/metro-bundler-config-yarn-workspaces",
"**/metro-bundler-config-yarn-workspaces/**"
]
},
"scripts": {
"build:server": "lerna run build --scope={@airbnb-clone/common,@airbnb-clone/server}",
"build:web": "lerna run build --scope={@airbnb-clone/controller,@airbnb-clone/common,@airbnb-clone/web}",
"fresh": "sudo rm -rf node_modules/ && sudo rm -rf packages/app/node_modules/ && sudo rm -rf packages/common/node_modules/ && sudo rm -rf packages/controller/node_modules/ && sudo rm -rf packages/server/node_modules/ && sudo rm -rf packages/web/node_modules/",
"deploy:server": "./server-deploy.sh",
"deploy:web": "./web-deploy.sh",
"docker:build-server": "sudo docker build -t penthious/airbnb-clone_server:latest .",
"docker:build-web": "sudo docker build -t penthious/airbnb-clone_web:latest .",
"docker:push-server": "sudo docker push penthious/airbnb-clone_server:latest",
"docker:push-web": "sudo docker push penthious/airbnb-clone_web:latest",
"start:app": "cd packages/app && yarn start",
"start:server": "sudo docker-compose up",
"start:web": "cd packages/web && yarn start"
},
"devDependencies": {
"lerna": "^3.8.0"
}
}