Skip to content

Commit 2a5f544

Browse files
committed
docs(readme): Dependencies section
1 parent f0c947b commit 2a5f544

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

readme.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@
88

99
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).
1010

11-
## Install
11+
## Dependencies
1212

13-
Babel 7
13+
### Babel
1414

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

19-
Babel 6
18+
## Install
2019

2120
```
22-
$ npm install --save-dev extract-react-intl-messages@0.11.2
21+
$ npm install --save-dev extract-react-intl-messages
2322
```
2423

2524
## Usage

0 commit comments

Comments
 (0)