Clarify purpose of the tool in README (#419)

This commit is contained in:
James Hegedus 2017-09-19 09:32:18 +10:00 committed by Brian Ng
parent 41f419a2fc
commit 8b97a8acf9

View File

@ -1,6 +1,6 @@
# babel-preset-env [![npm](https://img.shields.io/npm/v/babel-preset-env.svg)](https://www.npmjs.com/package/babel-preset-env) [![travis](https://img.shields.io/travis/babel/babel-preset-env/master.svg)](https://travis-ci.org/babel/babel-preset-env) [![npm-downloads](https://img.shields.io/npm/dm/babel-preset-env.svg)](https://www.npmjs.com/package/babel-preset-env) [![codecov](https://img.shields.io/codecov/c/github/babel/babel-preset-env/master.svg?maxAge=43200)](https://codecov.io/github/babel/babel-preset-env)
> A Babel preset that gives you everything standardized in [ES2015+](https://github.com/tc39/proposals/blob/master/finished-proposals.md), and can automatically determine the Babel plugins and polyfills you need based on your supported environments.
> A Babel preset that compiles [ES2015+](https://github.com/tc39/proposals/blob/master/finished-proposals.md) down to ES5 by automatically determining the Babel plugins and polyfills you need based on your targeted browser or runtime environments.
```sh
npm install babel-preset-env --save-dev