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-setup
yarn add styled-components jest-styled-components
yarn add --dev react-styleguidist react-test-renderer webpack flow-bin
yarn flow -- init