Add yarn example. (#174)

This commit is contained in:
Artem Yavorsky 2017-02-27 16:46:05 +02:00 committed by Brian Ng
parent 8e05140280
commit 2d1768209d

View File

@ -70,10 +70,18 @@ Ref: [#19](https://github.com/babel/babel-preset-env/pull/19)
## Install
With [npm](https://www.npmjs.com):
```sh
npm install --save-dev babel-preset-env
```
Or [yarn](https://yarnpkg.com):
```sh
yarn add babel-preset-env --dev
```
## Usage
The default behavior without options runs all transforms (behaves the same as [babel-preset-latest](https://babeljs.io/docs/plugins/preset-latest/)).