Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akameco/prioritize-yarn
If the project has yarn.lock, change npm install to yarn.
https://github.com/akameco/prioritize-yarn
install npm yarn
Last synced: 1 day ago
JSON representation
If the project has yarn.lock, change npm install to yarn.
- Host: GitHub
- URL: https://github.com/akameco/prioritize-yarn
- Owner: akameco
- License: mit
- Created: 2016-12-26T10:47:04.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T02:42:27.000Z (almost 3 years ago)
- Last Synced: 2024-11-15T21:53:32.473Z (5 days ago)
- Topics: install, npm, yarn
- Language: JavaScript
- Homepage:
- Size: 300 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- License: license
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# prioritize-yarn [![Build Status](https://travis-ci.org/akameco/prioritize-yarn.svg?branch=master)](https://travis-ci.org/akameco/prioritize-yarn) [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#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](https://github.com/kentcdodds/all-contributors#emoji-key)):
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
## License
MIT © [akameco](http://akameco.github.io)