-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.24 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
{
"name": "go-api",
"version": "1.0.0",
"description": "npm package",
"main": "serve.sh",
"scripts": {
"go-compile": "cd server && go get && CGO_ENABLED=0 go build -ldflags=\"-s -w\" -o ../go-server",
"node-compile": "cd ui && ng build --output-path ../assets",
"compile": "npm run go-compile && npm run node-compile",
"server": "cd server && gin --port 4201 --path . --build . --i --all -x .",
"client": "cd ui && ng serve --live-reload false --host 0.0.0.0",
"server-dev": "cd server && gin --port 4201 --path . --build . --i --all",
"client-dev": "cd ui && ng serve --host 0.0.0.0",
"start": "npm run compile && ./go-server",
"start-dev": "concurrently npm:server-dev npm:client-dev",
"getgodeps": "go get ./...",
"getnodedeps": "cd ui && npm install",
"getdeps": "concurrently npm:getgodeps npm:getnodedeps ",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/dannyrfar/go-api.git"
},
"devDependencies": {
"concurrently": "^1.0.0"
},
"author": "Danny Farah",
"license": "ISC",
"bugs": {
"url": "https://gitlab.com/dannyrfar/go-api/issues"
},
"homepage": "https://gitlab.com/dannyrfar/go-api#README"
}