@dreipol/pusch-components
v0.24.5
Published
Pusch Shared UI Components
Downloads
23
Keywords
Readme
pusch-components
Storybook
Install
npm install @dreipol/pusch-components
or yarn add @dreipol/pusch-components
Development
Setup
- Checkout the repo
- run
yarn install
- run
npm run storybook
Build
Run npm run build
for the library to build or npm run build-storybook
for storybook to be built
Publishing
- Push your changes to
master
branch - Update the package version accordion to the changes (major, minor, patch)
- Build the lib
npm run build
- Publish the lib
npm publish
Structure
src/components
Little more complex components
src/elements
Small atomic components. Without logic and without relying on other components (compositions)
src/hooks
Custom hooks for the library