Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)):

akameco
akameco

💻 📖 🚇Miguel Madero
Miguel Madero

💻

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)