Skip to content
/ patonki Public

Boilerplate w/ React, Redux, Webpack, Babel, Karma, Mocha, Enzyme, Flow

License

Notifications You must be signed in to change notification settings

unkhz/patonki

Repository files navigation

Patonki boilerplate

Diverged from an early version of rr-boilerplate.

Key ingredients

Build tasks

  • npm run dev-server starts local development web server in port 9999
  • npm start starts production build and run local web server in port 9999
  • npm run build starts production build
  • npm test runs unit tests, eslint check and flow check once
  • npm run karma-watch runs unit tests and watches for changes
  • npm run karma runs unit tests once
  • npm run eslint runs eslint check once
  • npm run flow runs flow check once

Folder structure

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

About

Boilerplate w/ React, Redux, Webpack, Babel, Karma, Mocha, Enzyme, Flow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published