Skip to content

Commit 1d14898

Browse files
committed
docs: update software versions in docs
1 parent 8f08c7f commit 1d14898

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A simple `React` SVG country flags component: it works with `Css Modules` (defau
1515

1616
**React Flag Icon Css** is distributed as an [npm package](https://www.npmjs.org/package/react-flag-icon-css).
1717

18-
We recommend installing and managing `npm` packages with [`yarn`](https://yarnpkg.com/) or [`npm 5`](https://www.npmjs.com/package/npm5):
18+
We recommend installing and managing `npm` packages with [`yarn`](https://yarnpkg.com/) or [`npm 6`](https://www.npmjs.com/package/npm5):
1919

2020
```bash
2121
$ yarn add react-flag-icon-css
@@ -27,15 +27,15 @@ or with `npm` <sup>1</sup>:
2727
$ npm install --save react-flag-icon-css
2828
```
2929

30-
<sup>1</sup> *You can omit --save if using npm 5.*
30+
<sup>1</sup> *You can omit --save if using npm >= 5.*
3131

3232
## Using in a `create-react-app` app
3333

34-
Apps bootstrapped with [`create-react-app`](https://github.com/facebookincubator/create-react-app) support this module out of the box, just follow the [Basic Usage](#basic-usage) example and remember to set `useCssModules` to `false` (unfortunately `create-react-app` [does not currently](https://github.com/facebookincubator/create-react-app/pull/2285) support Css modules).
34+
Apps bootstrapped with [`create-react-app`](https://github.com/facebookincubator/create-react-app) support this module out of the box, just follow the [Basic Usage](#basic-usage) example and remember to set `useCssModules` to `false` (`create-react-app` [does not currently](https://github.com/facebookincubator/create-react-app/pull/2285) support Css modules in its stable version, you can try [the alpha](https://github.com/facebook/create-react-app/issues/3815) but it will still not work with this module).
3535

3636
## Prerequisites for *custom* apps
3737

38-
We recommend using the [`webpack 3`](//github.com/webpack/webpack) module bundler and ecosystem to *assemble* your app, but this module also works with `webpack 2` and `webpack 1` and should work with other bundlers.
38+
We recommend using the [`webpack 4`](//github.com/webpack/webpack) module bundler and ecosystem to *assemble* your app, but this module also works with `webpack 3`, `webpack 2` and `webpack 1` and should work with other bundlers.
3939

4040
If you are using `webpack`, you will need to install and configure a few commmonly used modules (see the [webpack 3 example project](//github.com/matteocng/react-flag-icon-css-example-multi), or the [webpack 2](https://github.com/matteocng/react-flag-icon-css-example-multi/tree/webpack-2), [webpack 1](https://github.com/matteocng/react-flag-icon-css-example-multi/tree/webpack-1) versions of it):
4141

@@ -131,7 +131,7 @@ A [`webpack 3` example project](//github.com/matteocng/react-flag-icon-css-examp
131131

132132
## Facebook's Flow support
133133

134-
This module has **0** Flow errors on `flow-bin` version: **^0.57.3**.
134+
This module has **0** Flow errors on `flow-bin` version: **^0.76.0**.
135135

136136
If in your app you are using a Flow version that is the same or newer than that, you should not need any specific configuration excluding the installation of the [flow-typed](https://github.com/flowtype/flow-typed) definition for `prop-types` (you may also take the opportunity to install definitions for all your app's modules using [flow-typed](https://github.com/flowtype/flow-typed)).
137137

0 commit comments

Comments
 (0)