A set of React components to facilitate the creation of Open Data Catalogs with React.
This project utilizes storybook to document the available components.
To see the available components:
- clone this repo
- Install the dependencies with npm:
cd data-catalog-components
npm install
- Start storybook
npm run storybook
- Review exports in index.js
- Increase version in package.json
- run
npm login
- run
npm publish --access public
- run
npm run prepublish; npm run deploy-storybook
To test or use the components from a github branch:
- Create new branch locallly
- Remove
lib
from .gitignore - Run
npm run lib
- Push lib folder and .gitignore to your branch
- Add branch to package.json by running
npm install --save getdkan/data-catalog-components#MY-BRANCH
- Profit