-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.63 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "basicgram",
"version": "0.1.0",
"private": true,
"proxy": "http://gateway:4000",
"dependencies": {
"@material-ui/core": "^4.7.0",
"@material-ui/icons": "^4.5.1",
"axios": "^0.18.1",
"body-parser": "^1.18.3",
"cloudinary": "^1.17.0",
"cookie-parser": "^1.4.4",
"express": "^4.16.4",
"express-ws": "^4.0.0",
"http-proxy": "^1.17.0",
"is-empty": "^1.2.0",
"kafka-node": "^5.0.0",
"md5": "^2.2.1",
"moment": "^2.24.0",
"mongodb": "^3.2.3",
"mongoose": "^5.7.12",
"multer": "^1.4.2",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"react-dropzone": "^10.2.1",
"react-dropzone-component": "^3.2.0",
"react-redux": "^6.0.1",
"react-router-dom": "^5.1.2",
"react-scripts": "2.1.5",
"redis": "^2.8.0",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"save": "^2.4.0",
"ws": "^6.2.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"build-gateway": "sudo docker build -f devops/gateway.Dockerfile -t gateway . && sudo docker tag gateway ericerer/gateway && sudo docker push ericerer/gateway",
"build-websocket": "sudo docker build -f devops/websocket.Dockerfile -t websocket . && sudo docker tag websocket ericerer/websocket && sudo docker push ericerer/websocket",
"build-basicgram": "sudo docker build -f devops/basicgram.Dockerfile -t basicgram . && sudo docker tag basicgram ericerer/basicgram && sudo docker push ericerer/basicgram",
"build-user-server": "sudo docker build -f devops/user-server.Dockerfile -t user-server . && sudo docker tag user-server ericerer/user-server && sudo docker push ericerer/user-server",
"build-auth-server": "sudo docker build -f devops/auth-server.Dockerfile -t auth-server . && sudo docker tag auth-server ericerer/auth-server && sudo docker push ericerer/auth-server",
"build-frontend": "sudo docker build -f devops/frontend.Dockerfile -t frontend . && sudo docker tag frontend ericerer/frontend && sudo docker push ericerer/frontend",
"build-all-docker": "npm run build-frontend && npm run build-gateway && npm run build-websocket && npm run build-basicgram && npm run build-user-server && npm run build-auth-server",
"deploy": "sudo docker swarm init && sudo docker-compose -f devops/docker-compose.yml pull && sudo docker stack deploy -c devops/docker-compose.yml message-app",
"stop": "sudo docker stack remove message-app"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}