Typescript dev tools for a ReactJS project
Inherit from @ts-dev-tools/core
- Enable
browserenv for eslint - Install and configure eslint-plugin-react
- Install react tests libraries:
- @testing-library/jest-dom: Custom jest matchers to test the state of the DOM
- @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