Package Exports
- @cerebruminc/cerebellum
- @cerebruminc/cerebellum/lib/index.esm.js
- @cerebruminc/cerebellum/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cerebruminc/cerebellum) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Cerebellum
Cerebrum's React Component Library
For information about how to use Cerebellum in your application, please see the Storybook documentation.
Local Development
You can run Storybook locally with
yarn start
Testing the production build
You can test the production build in the /buildtest
directory, which contains a local Next.js app.
To get /buildtest
working, there is a little set up required:
Install yalc globally:
npm i yalc -g
Publish Cerebellum to Yalc repo:
In cerebellum/
:
yalc publish
You should be able to run buildtest
now:
// in /buildtest
yalc add @cerebruminc/cerebellum
yarn && yarn dev
Whenever you need to test a new build, run yalc publish
in cerebellum/
, then yarn && yarn dev
in /buildtest
.