Package Exports
- @cerebruminc/cerebellum
- @cerebruminc/cerebellum/lib/cjs/index.cjs
- @cerebruminc/cerebellum/lib/esm/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 startTesting 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 -gPublish Cerebellum to Yalc repo:
In cerebellum/:
yalc publish
You should be able to run buildtest now:
// in /buildtest
yalc add @cerebruminc/cerebellum
yarn && yarn devWhenever you need to test a new build, run yalc publish in cerebellum/, then yarn && yarn dev in /buildtest.
Codemods
There are some codemods written in jscodeshift that you can run to update your existing Cerebellum integration. More information can be found in the codemods readme.