Data Catalog Components
A set of React components to facilitate the creation of Open Data Catalogs with React.
Viewing the Components
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
Publishing
- Review exports in index.js
- Increase version in package.json
- run
npm run lib
- run
npm publish
Publish to Github Pages
- run
npm run prepublish; npm run deploy-storybook
Testing Components without Updating NPM Package
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 interra/data-catalog-components#MY-BRANCH
- Profit