Create-React-App Basis Setup with styled-components, styleguidist, lint-staged
HowTo install this:
- clone repo
yarn install(ornpm install)yarn styleguide// to start styleguide server
Other tasks:
yarn start// to start dev serveryarn test// to run javascript testsyarn coverage// run javascript tests & print coverageyarn build// to produce minified production buildyarn styleguide:build// to produce standalone styleguide build
Steps i made
create-react-app cra-basis-setupyarn add styled-components jest-styled-componentsyarn add --dev react-styleguidist react-test-renderer webpack flow-binyarn flow -- init