@intermine/chromatin
v0.0.27
Published
Intermine's component library
Downloads
33
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/chromatin
Project Setup
Clone the repo
git clone https://github.com/intermine/chromatin.git
Install dependencies
First you have to navigate to the project folder.
cd chromatin
Then install dependencies.
npm i
Note:
react
andreact-dom
are 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-save
Build
npm run build
Prod
npm run prod
Test
npm run test
Storybook
Run
npm run storybook
Build
npm run build-storybook