Skip to content

A react starter project on top of create-reat-app with eslint, stylelint and unit test coverage

Notifications You must be signed in to change notification settings

zombierobo/react-ts-starter

Repository files navigation

react-ts-starter

Create React App does not have a few build steps which are necessary such as linting files, configuring prettier and enabling coverage reports

Additional Scripts

In the project directory, you can run:

yarn lint

Runs all the linting steps for files in src folder with extensions js, jsx, ts, tsx, json, css and scss.

yarn lint:fix

Runs lint command with --fix flag which tries to automatically fix the lint problems.

yarn test:watch

Runs tests in watch mode

yarn coverage

Runs test cases with --collect-coverage flag. You can set minimum code coverage limits in jest.coverageThreshold.global property in package.json

yarn coverage:watch

Runs coverage in watch mode

How does it work

I have used the following references for setting up this project

About

A react starter project on top of create-reat-app with eslint, stylelint and unit test coverage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published