-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
28 lines (28 loc) · 1.43 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
{
"name": "ekgs",
"version": "0.1.0",
"description": "Enterprise Knowledge Graph System",
"private": true,
"dependencies": {},
"scripts": {
"postinstall": "run-s install:*",
"install:backend": "cd ./ekgs-backend && npm install",
"install:frontend": "cd ./ekgs-frontend && npm install",
"install:graphdata": "cd ./ekgs-graphdata && npm install",
"build": "run-s build:*",
"build:backend": "cd ./ekgs-backend && npm run build && docker tag ekgs-backend:dev irs3y/ekgs-backend:latest",
"build:frontend": "cd ./ekgs-frontend && npm run build && docker tag ekgs-frontend:dev irs3y/ekgs-frontend:latest",
"build:graphdata": "cd ./ekgs-graphdata && npm run build && docker tag ekgs-graphdata:dev irs3y/ekgs-graphdata:latest",
"start": "docker-compose -p ekgs -f ./ekgs-compose.yml up -d",
"stop": "docker-compose -p ekgs -f ./ekgs-compose.yml down -v",
"sh:backend": "docker-compose -p ekgs -f ./ekgs-compose.yml exec backend sh -c \"[ -e /bin/bash ] && /bin/bash || /bin/sh\"",
"sh:graphdata": "docker-compose -p ekgs -f ./ekgs-compose.yml exec graphdata sh -c \"[ -e /bin/bash ] && /bin/bash || /bin/sh\"",
"docker:publish": "run-s docker:publish:*",
"docker:publish:frontend": "docker push irs3y/ekgs-frontend",
"docker:publish:backend": "docker push irs3y/ekgs-backend",
"docker:publish:graphdata": "docker push irs3y/ekgs-graphdata"
},
"devDependencies": {
"npm-run-all": "^4.1.5"
}
}