Typescript dev tools for a ReactJS project
Inherit from @ts-dev-tools/core
- Reuse the Biome linting and formatting workflow from @ts-dev-tools/core
- Configure Vitest with the
jsdomenvironment for React projects - Install react tests libraries:
- @testing-library/jest-dom: Custom DOM matchers for Vitest tests
- @testing-library/react: Simple and complete React DOM testing utilities
- @testing-library/react-hooks: Simple and complete React hooks testing utilities
- react-test-renderer: React renderer required by
@testing-library/react-hooks
npm install --save-dev @ts-dev-tools/reactOr
yarn add --dev @ts-dev-tools/reactnpm exec ts-dev-tools installOr
yarn ts-dev-tools install