Project template for a React library with TypeScript support
- TypeScript support
- React support
- CSS Modules with PostCSS
- ESLint (with React and Prettier)
- Unit tests (Jest and Testing Library)
- Minified output with Terser
- Bundle size validation with size-limit
- Flexible builds with Rollup
- CHANGELOG.md template
- Clone the project or click "Use this template" button on GitHub
- Update the
package.jsonwith your project details - Update
README.mdandCHANGELOG.md - Build the project:
yarn buildornpm run build- Validate output bundle size with
yarn sizeornpm run size
- Validate output bundle size with
- Lint the project:
yarn lintornpm run lint - Run unit tests:
yarn testornpm test