/react-ts-template

React template with goodies

Primary LanguageJavaScript

React TS Webpack template

Template for a React app with Typescript, CSS loader (SASS), Prettier and Jest.

Setup

yarn

Commands

Run the dev server:

yarn dev

Build:

yarn build

This will create production artifacts in /dist. You can serve it using serve:

serve -S /dist

Tests:

yarn test

If you want to watch tests change

yarn test:dev

To create a coverage report:

yarn test:coverage