@h2_demo/create-react-ts-starter

Be sure to read **all** of this document carefully, and follow the guidelines within.

Usage no npm install needed!

<script type="module">
  import h2DemoCreateReactTsStarter from 'https://cdn.skypack.dev/@h2_demo/create-react-ts-starter';
</script>

README

What it contains

  • ReactJS support with TypeScript
  • Testing support using Jest and React Testing Library
  • Formatting support using Prettier
  • ESLint support
  • Ability to collect code coverage via Jest
  • Support for Storybook

Commands

  • npm i to install dependencies.
  • npm start to develop locally.
  • npm test to test and see the code coverage.
  • npm run build to create a production build.
  • npx serve dist -l 6666 to serve production build on port 6666.
  • npm run storybook to start storybook in development mode.
  • npm run build-storybook to create production build for storybook.
  • npx serve storybook-static -l 5858 to serve production build for storybook on port 5858.