@intermine/chromatin
TypeScript icon, indicating that this package has built-in type declarations

0.0.27 • Public • Published

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

Package Sidebar

Install

npm i @intermine/chromatin

Weekly Downloads

2

Version

0.0.27

License

MIT

Unpacked Size

11.4 MB

Total Files

4844

Last publish

Collaborators

  • ankdev
  • yochannah
  • sergiocontrino
  • juliesullivan
  • uosl