Skip to content

intermine/chromatin

Repository files navigation

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 and react-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

Releases

No releases published

Packages

No packages published

Languages