Generates a React project skeleton. Inspired by the ease of use of rails new
.
- Installs the following packages:
babel-core
babel-loader
babel-preset-es2015
babel-preset-react
flux
react
react-dom
react-router
webpack
- Creates
webpack.config.js
with sourcemap - Creates
index.html
with entry point - Creates initial
{PROJECT_NAME}.jsx
component - Creates folders for
js
andcss
- Runs
webpack --watch
brew tap timhwang21/react
brew install react
react new PROJECT_NAME