Created
October 11, 2016 08:41
-
-
Save kamilziajka/11c412265b43ff0e350ab49ac1bc16b0 to your computer and use it in GitHub Desktop.
npm scripts multiple alias args
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": { | |
"build": "node bin/build", | |
"update": "node bin/update", | |
"build-update": "buildupdate(){ npm run build -- $@ && npm run update -- $@; }; buildupdate" | |
} | |
} |
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
npm run build -- test | |
npm run update -- test | |
npm run build-update -- test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment