Skip to content

akameco/prioritize-yarn

Repository files navigation

prioritize-yarn Build Status All Contributors

If the project has yarn.lock, change npm install to yarn.

CLI

$ npm install --global prioritize-yarn
$ alias npm='prioritize-yarn'
// Using yarn, when there is a `yarn.lock`.
$ npm install
yarn install v0.18.1
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
✨  Done in 2.25s.

Recommend

Add this to ~/.bashrc or ~/.zshrc:

alias npm=prioritize-yarn

Contributors

Thanks goes to these wonderful people (emoji key):

akameco
akameco

💻 📖 🚇
Miguel Madero
Miguel Madero

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco