Basic react and redux setup with babel, eslint, prettier, flow and webpack.
install- install all packagesbuild- build project for productiontestortdd- run teststypecheck- run flow to typecheck fileslint- run eslint on all js, jsx and json files with fix optiondev- run development serverstart- run development environment
To follow the stepdown rule (high level function at top and low level next) in clean code (Chapter 3, One Level of Abstraction per Function ), these 2 eslint rules are disabled/redefined.
"no-use-before-define": 0,
"react/sort-comp": [2, {
"order": [
"static-methods",
"lifecycle",
"render",
"everything-else"
]
]}]