Fix yarn pack ignoring directory cli flag

This commit is contained in:
Roland Schilter
2017-07-07 13:00:23 +02:00
parent 683312ebc1
commit 202e1569e5

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",