Changed client build-pkg directory

This commit is contained in:
jpellizzari
2017-01-24 16:15:02 -08:00
parent f15497cba9
commit a0b1aa12c0
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -56,4 +56,4 @@ vendor/github.com/ugorji/go/codec/codecgen/bin/*
client/build-external/*
prog/staticui/*
prog/externalui/*
client/pkg
client/build-pkg

View File

@@ -90,8 +90,8 @@
"scripts": {
"build": "webpack --config webpack.production.config.js",
"build-external": "EXTERNAL=true webpack --config webpack.production.config.js",
"build-pkg": "babel app/scripts --ignore __tests__ --out-dir pkg && cp package.json pkg/ && cp -R app/styles pkg/",
"bundle": "npm pack pkg && mv weave-scope-$npm_package_version.tgz weave-scope.tgz",
"build-pkg": "babel app/scripts --ignore __tests__ --out-dir build-pkg && cp package.json build-pkg/ && cp -R app/styles build-pkg/",
"bundle": "npm pack build-pkg && mv weave-scope-$npm_package_version.tgz weave-scope.tgz",
"start": "node server.js",
"start-production": "NODE_ENV=production node server.js",
"test": "jest",