@sunamo/sureact19
v1.0.7
Published
A React component library with TypeScript support
Readme
sureact19
Setup
# Clone the repository
git clone <repository-url>
cd sureact19
# Install dependencies
pnpm installScripts
pnpm build- Build the librarypnpm build:watch- Build in watch modepnpm test- Run testspnpm test:watch- Run tests in watch modepnpm test:coverage- Run tests with coverage reportpnpm lint- Lint codepnpm lint:fix- Fix linting issuespnpm format- Format code with Prettierpnpm format:check- Check code formatting
Testing
This project uses Jest with React Testing Library for testing. All components have comprehensive test coverage.
# Run all tests
pnpm test
# Run tests in watch mode
pnpm test:watch
# Generate coverage report
pnpm test:coverageContributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Run tests and ensure they pass
- Submit a pull request
License
MIT License - see LICENSE file for details.
Peer Dependencies
- React ^18.0.0 || ^19.0.0
- React DOM ^18.0.0 || ^19.0.0
Browser Support
Modern browsers that support ES2020+ features.
