Install dependencies:
yarn installRun dev server (on port 4200):
yarn startRun static code analyze:
yarn lintLinter auto fix
yarn lint --fixRun unit tests:
yarn testRun unit tests in watch mode:
yarn test --watchRun unit tests and update snapshots:
yarn test -uBuild bundle in development mode:
yarn build:devBuild bundle in production mode:
yarn build:prodFull build:
yarn buildRun mocked server (on port 4201):
yarn mocked-serverOpen Cypress panel (required running mocked-server & build dist):
yarn cy:openRun Cypress tests in headless mode (required running mocked-server & build dist):
yarn cy:runRemove builded files:
yarn cleanInstalled dependencies security audit:
yarn auditTo analyze bundle size (via webpack-bundle-analyzer):
yarn analyzeSnippets can be found here
Examples with SSR are placed as a separate branches in this repository.
Install one of this redux middleware
For date parsing [optional]:
Forms [optional]:
CSS-IN-JS:
-
styled-components [default]