You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**You’ll need to have Node >= 4 on your machine**. We recommend to use Node >= 6 and npm >= 3 for faster installation speed and better disk usage. You can use [n](https://github.com/creationix/nvm#usage) to easily switch the Node versions between different projects.
21
21
22
-
**This tool doesn’t assume a Node backend**. The Node installation is only required for the build tools that rely on it locally, such as Webpack and Babel. The output folder includes an `index.html` and a minified `.js` bundle so you can host them anywhere you like.
22
+
**This tool doesn’t assume a Node backend**. The Node installation is only required for the build tools that rely on it locally, such as Webpack and Babel. The output folder includes an `index.html`, a minified `.js` bundle, and bundled images and css, so you can host them anywhere you like.
23
23
24
24
## Why Use This?
25
25
26
-
**If you’re getting started** with React, use this tool to automate the build of your app. You can get an app running with React, JSX, and ES6 in minutes. You don’t have to learn the configuration format of Babel, Webpack, and ESLint, or manage their versions. There is no configuration file, and this tool is the only build dependency in your `package.json`.
26
+
**If you’re getting started** with React, use `create-react-app` to automate the build of your app. There is no configuration file, and `react-scripts` is the only extra build dependency in your `package.json`. Your environment will have everything you need to build a modern React app:
27
+
28
+
* React, JSX, and ES6 support
29
+
* Language extras beyond ES6 like the object spread operator
30
+
* A dev server that lints for common errors
31
+
* Import css and image files directly from JavaScript
32
+
* Autoprefixed CSS, so you don't need `-webkit` or other prefixes
33
+
* A `build` script to bundle js, css, and images for production, with sourcemaps
27
34
28
35
**The feature set is intentionally limited**. It doesn’t support advanced features such as server rendering or CSS modules. Currently, it doesn’t support testing either. The tool is also **non-configurable** because it is hard to provide a cohesive experience and easy updates across a set of tools when the user can tweak anything.
29
36
@@ -84,7 +91,7 @@ Currently it is a thin layer on top of many amazing community projects, such as:
84
91
85
92
All of them are transient dependencies of the provided npm package.
86
93
87
-
## Contibuting
94
+
## Contributing
88
95
89
96
Clone the repo and run `npm install` in the root and the `global-cli` folder.
0 commit comments