Diverged from an early version of rr-boilerplate.
npm run dev-server
starts local development web server in port 9999npm start
starts production build and run local web server in port 9999npm run build
starts production buildnpm test
runs unit tests, eslint check and flow check oncenpm run karma-watch
runs unit tests and watches for changesnpm run karma
runs unit tests oncenpm run eslint
runs eslint check oncenpm run flow
runs flow check once
The folder structure is organized based on modules, rather than design patterns. This generally leads to more cohesion in the application code.
.
├── build webpack, karma, paths configuration
├── dist generated files
├── src source files
│ ├── _main main module
│ ├── _types common flow types module
│ ├── app app container module
│ └── example example feature module
└── test test bundle