This is boilerplate for fully modular web UIs based on ReactJS and Redux + PostCSS with CSS Modules.
Builds are done by Webpack, which is connecting everything together, giving the technology that allows us to achieve full modularity and separation without any overhead.
To start, clone the repo and
npm i
npm start
Your app will be available on http://localhost:3000 in Hot Module Replacement mode.
- React Router - client side routing
- Redux-saga - CQRS sagas in Redux Middleware
- Jest - Testing
- LostGrid - PostCSS grid system
- Axios - http
- Webpack build analyzer - analyzing build size
- NPM check updates - checking for updates
To build dev code (unminified + sourcemaps)
npm run build: dev
To watch for changes and rebuild
npm run build:watch
To start server in HMR mode, making it available at http://localhost:3000
npm start
npm run build:Production
npm test
Watch for changes and reload tests (provides Jest-cli commands)
npm test:watch
Test code, genenerate html and JSON coverage and also output it in terminal
npm test:coverage
#Build size analysis Guves you html page with zoomable tree view of how your depencencies influence your build size dependencies.
npm run build:analyze
To serve your App in web server mode making it available at http://localhost:3000
npm run serve-static
Work in progress
Provides you with a list of updates so you can choose if you want ot keep some of your dependencies up to date.
npm run check-updates