# react-boilerplate-setup

Copy over: `dist`, `src`, `.babelrc`, `.gitignore`, `postcss.config.js`, `server.js`, `webpack.config.js`.

Run:

```
npm i react react-dom express

npm i -D autoprefixer babel-core babel-loader babel-preset-latest babel-preset-react css-loader less less-loader postcss-loader raw-loader style-loader webpack
```

To the beginning of npm scripts, add:
```
    "start": "node server.js --inspect",
    "start-watch": "nodemon server.js --inspect",
    "dev": "webpack -d --watch",
    "prod": "webpack -p",
```

# react-boilerplate-setup

Copy over:

`dist`, `src`, `.babelrc`, `.gitignore`, `postcss.config.js`, `server.js`, `webpack.config.js`

Run:

```
npm i react react-dom express

npm i -D autoprefixer babel-core babel-loader babel-preset-latest babel-preset-react css-loader less less-loader postcss-loader raw-loader style-loader webpack
```

To the beginning of npm scripts, add:
```
    "start": "node server.js --inspect",
    "start-watch": "nodemon server.js --inspect",
    "dev": "webpack -d --watch",
    "prod": "webpack -p",
```

In separate terminals, run:

```
npm run start
npm run dev
```

Go to [localhost: 8080](http://localhost:8080/)

Add final commands to readme
Add final commands to readme
