Skip to content

Commit

Permalink
docs(readme): Dependencies section
Browse files Browse the repository at this point in the history
  • Loading branch information
akameco committed Feb 8, 2019
1 parent f0c947b commit 2a5f544
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@

This package will generate json or yaml files from a glob. It will generate one file per locale, with the ids of each message defined by the [`defineMessages`](https://github.com/yahoo/react-intl/wiki/API#definemessages) function of [react-intl](https://github.com/yahoo/react-intl). The value of each of these keys will be an empty string, except for your `defaultLocale` which will be populated with the [`defaultMessage`](https://github.com/yahoo/react-intl/wiki/API#message-descriptor).

## Install
## Dependencies

Babel 7
### Babel

```
$ npm install --save-dev extract-react-intl-messages
```
- 1.x works with Babel 7
- 0.x works with Babel 6

Babel 6
## Install

```
$ npm install --save-dev extract-react-intl-messages@0.11.2
$ npm install --save-dev extract-react-intl-messages
```

## Usage
Expand Down

0 comments on commit 2a5f544

Please sign in to comment.