Created
July 18, 2017 13:22
-
-
Save cspanring/b3ceb8633ac490d4fd606f9906d5ff4f to your computer and use it in GitHub Desktop.
npm publish scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"publish:patch": "npm whoami && npm version patch && git push origin --tags && npm publish", | |
"publish:minor": "npm whoami && npm version minor && git push origin --tags && npm publish" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment