A collection of React components used in the front end of Expression Atlas and Single Cell Expression Atlas.
This is a Lerna-managed monorepo. Read Lerna’s documentation for more details.
npm install
npm install eslint-plugin-react --no-save --no-save-dev # See section about linting below
npx lerna bootstrap
In short, remember to run npx lerna bootstrap
from the top level directory after you install or remove packages in
each package.json
to ensure the dependencies have been correctly symlinked. We have noticed that sometimes NPM, as
usual, has some unexpected behaviour.
Even though NPM no longer installs peerDependencies
, we follow
ESLint’s recommendation on shareable configs.
You can install eslint-plugin-react
in the root package like detailed in the instructions above.