prioritize-yarn
v1.1.0
Published
If the project has yarn.lock, change npm install to yarn.
Downloads
14
Readme
prioritize-yarn
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):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco