Merge pull request #2694 from weaveworks/yarn-pack-is-not-npm-pack

Fix `yarn pack` ignoring directory cli flag
This commit is contained in:
Roland Schilter
2017-07-07 15:55:00 +02:00
committed by GitHub

View File

@@ -101,7 +101,7 @@
"build-external": "EXTERNAL=true webpack --config webpack.production.config.js",
"copy-pkg-files": "cp package.json build-pkg/ && cp -R app/styles build-pkg/",
"build-pkg": "mkdir -p build-pkg && node node_modules/.bin/babel app/scripts --ignore __tests__ --out-dir build-pkg && yarn run copy-pkg-files",
"bundle": "yarn run build-pkg && yarn pack ./build-pkg && mv weave-scope-v$npm_package_version.tgz ./tmp/weave-scope.tgz",
"bundle": "yarn run build-pkg && cd ./build-pkg && yarn pack --filename ../tmp/weave-scope.tgz",
"start": "node server.js",
"start-production": "NODE_ENV=production node server.js",
"test": "jest",