#Boilerplate for React/Reflux/Enzyme
##Steps to run:
- Clone the repo (git clone https://github.com/lotekmedia/React-Reflux-ES6)
- cd React-Reflux-ES6
- npm i
- npm start
##Steps to create from scratch:
-
Create GitHub (clone from BoilerPlate)
-
Create .gitignore
-
npm init
-
npm install --save-dev babel-cli babel-loader babel-core babel-preset-es2015 babel-preset-react less
-
npm install --save-dev enzyme react-addons-test-utils webpack colors webpack-dev-server file-loader npm-run-all
-
npm install --save react react-dom react-router immutable reflux
-
Create Folder Structure
.gitignore
.babelrc
package.json
webpackDev.config.js
webpackPrd.config.js
|
└──tools
| └──testSetup.js
|
└──tests
| └──index.test.js
|
└──src
└── app.jsx
└── index.html
└── main.jsx
|
└── fonts
|
└── images
|
└── less
|
└── libs
|
└── views
|
└──home
| |
| └── actions
| |
| └── components
| |
| └── stores
| |
| └── constants
| |
| └── route.js
|
└── shared
|
└── actions
|
└── components
|
└── stores
|
└── constants