/ts-react-seed

Seed Typescript project configured with Jest, react-testing-library, Cypress, Storybook and Netlify.

Primary LanguageTypeScript

TypeScript React Seed

Netlify Status Cypress.io tests tested with jest Storybook

This is a seed project for a web application built with TypeScript. It contains all the dependencies you would need to build a new web project in React, such as:

  • React
  • Webpack and Babel
  • ESLint
  • Jest and React Testing Library
  • Storybook
  • Cypress
  • GitHub Actions

The main app is deployed to https://ts-react-seed-app.netlify.app

Storybook is deployed to https://ts-react-seed-storybook.netlify.app

Usage

First, install all the dependencies with yarn or npm

yarn

To start the project locally with Webpack, just do:

yarn start

To build the project on the /dist folder and types on /build, do:

yarn build

To run the tests using Jest:

yarn test

To run ESLint and fix the formatting of your code:

yarn lint

To run Storybook:

yarn storybook

To run Cypress, make sure you have your application running, then do:

yarn cypress