A starter kit to quickly start to develop a web app using react & redux.
- Development:
npm start
- Clean:
npm run clean
- Build for production:
npm run build
- Test:
npm test
- Test with coverage:
npm run test:coverage
- Test watch mode:
npm run test:watch
- build: Webpack 3
- styles: Stylus with postcss (autoprefixer)
- View | Controller: react
- Model | Controller: redux
.
`-- config/
| jest.config.json
| jest.global.js
| webpack.dev.config.js
| webpack.production.config.js
|
`-- coverage/
`-- dist/
|
`-- src/
`-- assets/
| `-- fonts/
| `-- images/
| index.html
|
`-- components/
| `-- containers/
| | `-- containerA/
| | ContainerA_actions.js
| | ContainerA_constants.js
| | ContainerA_reducer.js
| | ContainerA.jsx
| | ContainerA.spec.js
| |
| `-- presentational/
| | `-- componentA/
| | ComponentA.jsx
| | ComponentA.styl
| | ComponentA.spec.js
| |
| `-- views/
|
`-- core/
| reducer.js
| store.js
|
`-- style/
| main.styl
| reset.styl
|
app.jsx
- Add loaders for files (fonts, images) & styles
- Set up test (jest, expect, enzyme?)
- Does use react-immutable-proptypes?
- Is nib effective ? (More...)
- Specify configuration