Skip to content

Commit

Permalink
docs: update README.md (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharygolba authored Jul 5, 2016
1 parent d2bcf8f commit bfeb637
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# babel-preset-lux

> Babel preset for all plugins require by [Lux](https://github.com/postlight/lux).
> Babel preset for all plugins required by [Lux](https://github.com/postlight/lux).
## Install

```sh
$ npm install --save-dev babel-preset-lux
```bash
npm install --save-dev babel-preset-lux
```

## Usage
Expand All @@ -22,14 +22,14 @@ $ npm install --save-dev babel-preset-lux

### Via CLI

```sh
$ babel script.js --presets lux
```bash
babel script.js --presets lux
```

### Via Node API

```javascript
require('babel-core').transform('code', {
presets: ['es2015']
presets: ['lux']
});
```

0 comments on commit bfeb637

Please sign in to comment.