Created
February 6, 2014 02:04
-
-
Save patricksimpson/8837165 to your computer and use it in GitHub Desktop.
Some helper functions for npm modules, grunt, grunt contrib.
This file contains hidden or 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 install and save dev | |
function ni() { | |
npm install --save-dev "$@" | |
} | |
# npm install grunt package, and save dev. | |
function gi() { | |
npm install --save-dev grunt-"$@" | |
} | |
# npm install grunt contrib package, and save dev. | |
function gci() { | |
npm install --save-dev grunt-contrib-"$@" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment