@intermine/chromatin
v0.0.27
Published
Intermine's component library
Readme
chromatin
Intermine's component library in React.
Install
To install this library you can do using npm or yarn:
npm i @intermine/chromatin
# or
yarn add @intermine/chromatinProject Setup
Clone the repo
git clone https://github.com/intermine/chromatin.gitInstall dependencies
First you have to navigate to the project folder.
cd chromatinThen install dependencies.
npm iNote:
reactandreact-domare peer dependencies. So to build this project locally or to run storybook you need to install these two dependencies manually. You can do so by following below steps.
npm i react react-dom @types/react @types/react-dom --no-saveBuild
npm run buildProd
npm run prodTest
npm run testStorybook
Run
npm run storybookBuild
npm run build-storybook