diff --git a/package.json b/package.json index 71aa19cc9..e5ca71a22 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,11 @@ ], "scripts": { "grunt": "grunt", - "dev": "yarn grunt run-dev", - "clean-all": "yarn grunt clean:all", - "build": "yarn grunt build", - "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: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"