chainhackers-ui
v0.0.17
Published
This is a **game widget library** for BetSwirl protocol casino games built with React + TypeScript + Vite.
Readme
Chainhackers UI - React Casino Game Components
This is a game widget library for BetSwirl protocol casino games built with React + TypeScript + Vite.
Development Setup
The project uses:
- React 19 + TypeScript for component development
- Vite for fast development and building
- Biome for linting and code formatting (replaces ESLint)
- Storybook for component development and testing
- Tailwind CSS 4 for styling
Code Quality
This project uses Biome for linting and formatting:
# Check code quality
pnpm lint
# Auto-fix issues
pnpm lint:fix
# Format code
pnpm formatConfiguration is in biome.json and extends the root workspace configuration.
Deploy
setfacl -R -m u:dev-components:rwx /var/www/betswirl-sdk/Running Mini-App from SDK
If you have downloaded the SDK library and want to run the test mini-app:
- Navigate to the mini-app folder:
cd examples/mini-app- Install dependencies (ignore workspace):
pnpm install --ignore-workspace- Start Storybook:
pnpm storybook- Open in browser:
Local: http://localhost:6006/