@castui/cast-ui
v4.1.1
Published
A cross-platform design system for React Native (iOS, Android, Web) with multi-theme support.
Downloads
587
Maintainers
Readme
Cast UI
A cross-platform component library for React Native (iOS, Android, Web).
Components are currently being built. Check back soon.
Installation
npm install @castui/cast-uiPeer dependencies: react (>=18), react-native (>=0.72)
Development
Prerequisites
- Node.js >= 18
- npm
Install Dependencies
npm installStart Storybook
npm run storybookOpens at http://localhost:6006.
Build
npm run buildScripts
| Script | Description |
|--------|-------------|
| npm run storybook | Start Storybook dev server |
| npm run build-storybook | Build static Storybook |
| npm run build | TypeScript compilation to dist/ |
CI/CD
| Workflow | Trigger | Purpose |
|----------|---------|---------|
| Chromatic | Every push | Visual regression testing via Storybook snapshots |
| Adoption Tracking | Push to main | Registers package version with Zeroheight |
| Publish to npm | Push to main | Builds and publishes package to npm (only if version changed) |
License
MIT
