@samitouri / QOS-React-2 / commits / 6e1f642273

Correct Babel 6 command line usage instructions.

The user should install the babel-cli package, see http://babeljs.io/docs/usage/cli/.

Ludovico Fischer committed Oct 31, 2015 at 22:20 UTC 6e1f642273b6fcf475e434b58aea2e9e93d636e6
1 file changed +1 -1
docs/docs/09-tooling-integration.md
+1 -1
@@ -36,7 +36,7 @@ This tool will translate files that use JSX syntax to plain JavaScript files tha
36
37 > Note:
38 >
39 -> If you are using babel 6.x, you will need to install the relevant preset/plugins. To get started, you can run `npm install -g babel babel-preset-react` and then run `babel --presets react --watch src/ --out-dir lib/`. For more information: check out the [babel 6 blog post](http://babeljs.io/blog/2015/10/29/6.0.0/)
39 +> If you are using babel 6.x, you will need to install the relevant preset/plugins. To get started, you can run `npm install -g babel-cli`, then `npm i babel-preset-react` and finally run `babel --presets react --watch src/ --out-dir lib/`. For more information: check out the [babel 6 blog post](http://babeljs.io/blog/2015/10/29/6.0.0/)
40
41 By default JSX files with a `.js` extension are transformed. Run `babel --help` for more information on how to use Babel.
42