Skip to content

Instantly share code, notes, and snippets.

@leon
Created August 30, 2016 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leon/ff2eabbeba29237789436be1dd707d9e to your computer and use it in GitHub Desktop.
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
#
# 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