Development Setup
Follow these steps to set up your local development environment:Testing UTF-8 Locally
To test non-ASCII character support (Korean, Japanese, emoji, etc.):Available Scripts
| Command | Description |
|---|---|
npm run build | Build the library for production |
npm run demo | Start the demo app |
npm run demo-web-watch | Build demo library in watch mode |
npm run demo:build | Build the demo for deployment |
npm run lint | Run linter and auto-fix issues |
npm run clean | Clean build artifacts |
Reporting Issues
If you find a bug or have a feature request:- Check if the issue already exists in the GitHub Issues
- If not, create a new issue with:
- A clear, descriptive title
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Environment details (React version, platform, etc.)
- Code samples or screenshots if applicable
Pull Request Guidelines
When submitting a pull request:Make your changes
- Write clean, maintainable code
- Follow the existing code style
- Run
npm run lintto check for issues - Test your changes thoroughly
Code Review Process
All contributions go through code review:- A maintainer will review your PR
- You may be asked to make changes
- Once approved, your PR will be merged
- Your contribution will be included in the next release
License
By contributing to react-qr-code, you agree that your contributions will be licensed under the MIT License.Questions?
If you have questions about contributing:- Open a GitHub Discussion
- Check existing issues and pull requests
- Reach out to the maintainers