Merge branch 'develop' into webpack

pull/2670/head
Chaim Lev-Ari 2018-11-29 09:42:10 +02:00
commit 8fd6891cd6
1 changed files with 6 additions and 5 deletions

View File

@ -21,11 +21,12 @@
],
"scripts": {
"grunt": "grunt",
"dev": "yarn grunt run-dev",
"clean-all": "yarn grunt clean:all",
"dev:client": "webpack",
"build:client": "webpack -p --config ./webpack/webpack.production.js",
"build-offline": "cd ./api/cmd/portainer && CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s' && mv -b portainer ../../../dist/portainer-linux-amd64"
"start": "grunt run-dev",
"start:client": "webpack",
"start:server": "yarn build:server:offline && grunt shell:run:amd64",
"clean:all": "grunt clean:all",
"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": {
"node": ">= 0.8.4"