npm.plugin.zsh 458 B

1234567891011121314
  1. eval "$(npm completion 2>/dev/null)"
  2. # npm package names are lowercase
  3. # - https://twitter.com/substack/status/23122603153150361
  4. # Thus, we've used camelCase for the following aliases:
  5. # Install and save to dependencies in your package.json
  6. # npms is used by https://www.npmjs.com/package/npms
  7. alias npmS="npm i -S "
  8. # Install and save to dev-dependencies in your package.json
  9. # npmd is used by https://github.com/dominictarr/npmd
  10. alias npmD="npm i -D "