Skip to content

Commit

Permalink
Add prepare hook to publish the real dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
Swizz committed Nov 11, 2017
1 parent bdf319e commit ad71684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -26,6 +26,7 @@
"bundle": "rollup -i $npm_package_module -o $npm_package_main -m -f umd -n $npm_package_name",
"format": "prettier --semi false --write 'src/**/*.js'",
"minify": "uglifyjs $npm_package_main -o $npm_package_main --mangle --compress --source-map",
"prepare": "npm run build",
"push": "git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
"release": "npm run push && release --publish",
"test": "jest --coverage"
Expand Down

0 comments on commit ad71684

Please sign in to comment.