mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
npm scripts change
This commit is contained in:
2
Makefile
2
Makefile
@@ -170,7 +170,7 @@ ui-upload: client/build-external/index.html
|
||||
ui-build-pkg:
|
||||
AWS_ACCESS_KEY_ID=$$UI_BUCKET_KEY_ID \
|
||||
AWS_SECRET_ACCESS_KEY=$$UI_BUCKET_KEY_SECRET \
|
||||
cd client && npm run build-pkg && aws s3 cp weave-scope.tgz s3://weaveworks-npm-modules/weave-scope/ --acl public-read
|
||||
cd client && npm run build-pkg && npm run bundle && npm run s3-publish
|
||||
|
||||
clean:
|
||||
$(GO) clean ./...
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
"build": "webpack --config webpack.production.config.js",
|
||||
"build-external": "EXTERNAL=true webpack --config webpack.production.config.js",
|
||||
"build-pkg": "mkdir -p build-pkg && node node_modules/.bin/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",
|
||||
"bundle": "npm pack build-pkg --quiet && mv weave-scope-$npm_package_version.tgz weave-scope.tgz",
|
||||
"start": "node server.js",
|
||||
"start-production": "NODE_ENV=production node server.js",
|
||||
"test": "jest",
|
||||
|
||||
Reference in New Issue
Block a user