HTML Flip Book - v0.0.0-alpha.36
    Preparing search index...

    Contributing

    Thank you for your interest in contributing to HTML Flip Book!

    1. Clone the repository:

      git clone https://github.com/DoradSoft/html-flip-book.git
      cd html-flip-book
    2. Install dependencies:

      npm install
      
    3. Install pre-commit hooks:

      pip install pre-commit
      pre-commit install
    4. Start development:

      npm run dev
      
    Task Command
    Build npm run build
    Unit Tests npm test
    E2E Tests npm run test:e2e
    Lint & Format npx biome check --write .
    Generate Docs npm run docs
    • Follow the existing code style (Biome formatting)
    • Write tests for new features
    • Add JSDoc comments for public APIs (auto-generates docs)
    • Keep commits focused and descriptive
    1. Write a failing test that exposes the bug
    2. Verify the test fails
    3. Fix the bug
    4. Verify the test passes
    5. Run the full test suite
    1. Create a feature branch from master
    2. Make your changes
    3. Bump the version:
      cd base && npm version patch --no-git-tag-version
      cd ../react && npm version patch --no-git-tag-version
    4. Submit a PR

    By contributing, you agree that your contributions will be licensed under the MIT License.