chore(build-system): add start and start:server scripts (#2495)
parent
b809177147
commit
34b886d690
|
@ -21,10 +21,11 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"grunt": "grunt",
|
"grunt": "grunt",
|
||||||
"dev": "yarn grunt run-dev",
|
"start": "grunt run-dev",
|
||||||
"clean-all": "yarn grunt clean:all",
|
"start:server": "yarn build:server:offline && grunt shell:run:amd64",
|
||||||
"build": "yarn grunt build",
|
"clean:all": "grunt clean:all",
|
||||||
"build-offline": "cd ./api/cmd/portainer && CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s' && mv -b portainer ../../../dist/portainer-linux-amd64"
|
"build": "grunt build",
|
||||||
|
"build:server:offline": "cd ./api/cmd/portainer && CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s' && mv -f portainer ../../../dist/portainer-linux-amd64"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 0.8.4"
|
"node": ">= 0.8.4"
|
||||||
|
|
Loading…
Reference in New Issue