Doorman Common UI Library
Doorman Common UI Library contains foundational React UI components for Doorman related projects.
Installation:
npm:
npm install @dbops/ui
yarn:
yarn add @dbops/ui
Local development:
Starting up storybook:
yarn storybook
checks for lint errors
yarn lint
checks and fixes lint errors if possible
yarn lint:fix
format your code with prettier
yarn format
Build:
Bundle UI library:
yarn build
Build storybook static files:
yarn build-storybook
Directory Structure
For new UI components or utilities, please put them under src/*
and export them in src/index.ts
.