Created
August 30, 2016 07:42
-
-
Save leon/ff2eabbeba29237789436be1dd707d9e to your computer and use it in GitHub Desktop.
Bash alias "npmd" installs both dependency and TypeScript defintion files in one go
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
# | |
# Install Both Library and TypeScript defintion files in one go | |
# | |
npmd() { | |
#do things with parameters like $1 such as | |
npm install --save $1 | |
npm install --save-dev @types/$1 | |
} | |
alias npmd=npmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment