Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: Create blt-hackathon NPM Package for Hackathon Module #1

@mdkaifansari04

Description

@mdkaifansari04

Summary

We need a reusable React-based NPM package (blt-hackathon) that renders the full Hackathon interface using a simple config object. This will allow any project or organization to install the package, pass a config, and instantly display a hackathon page with leaderboard, repo stats, and other features.


Proposed Features

  • Provide a main component:

    <BLTHackathon config={...} />
  • Accept a clean TypeScript config interface

  • Render hackathon information (name, rules, timeline, sponsors, prizes)

  • Render Review Leaderboard

  • Render Repo Stats (optional via config)

  • Use TailwindCSS for styling (precompiled → shipped as dist/styles.css)

  • Allow users to import styles via:

    import "blt-hackathon/dist/styles.css";

Technical Implementation

  • Build with TypeScript + tsup

  • Use Tailwind v4 internally to generate the final CSS bundle

  • Export ESM + CJS builds + .d.ts types

  • Keep API usage minimal and config-driven

  • Expose only one public API:

    export { BLTHackathon };
    export type { HackathonConfig };

Goal

Create a lightweight, plug-and-play React component library for Hackathons that is easy to install, easy to configure, and easy to use in any frontend project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions