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.json
with your project details - Update
README.md
andCHANGELOG.md
- Build the project:
yarn build
ornpm run build
- Validate output bundle size with
yarn size
ornpm run size
- Validate output bundle size with
- Lint the project:
yarn lint
ornpm run lint
- Run unit tests:
yarn test
ornpm test