JSPM

@cerebruminc/cerebellum

4.10.0-beta.dangerous.6e863c6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 613
  • Score
    100M100P100Q121980F
  • License MIT

Cerebrum's React Component Library

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

License: MIT

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.

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