1.0.1 • Published 3 years ago

@showbie/backpack-react v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Note: Further versions of this package will be published to the GitHub Package registry.

🎒 React

React components for Showbie’s Backpack design system.

Developing

TSDX scaffolds your new library inside /src, and also sets up a Parcel-based playground for it inside /example.

The recommended workflow is to run TSDX in one terminal:

npm start # or yarn start

This builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.

Then run either example playground or storybook:

Storybook

Run inside another terminal:

yarn storybook

This loads the stories from ./stories.

NOTE: Stories should reference the components as if using the library, similar to the example playground. This means importing from the root project directory. This has been aliased in the tsconfig and the storybook webpack config as a helper.

Rollup

TSDX uses Rollup v1.x as a bundler and generates multiple rollup configs for various module formats and build settings. See Optimizations for details.

Named Exports

Per Palmer Group guidelines, always use named exports. Code split inside your React app instead of your React library.

1.0.1

3 years ago

1.0.0

4 years ago

0.1.1-alpha.1

4 years ago

0.1.1-alpha.0

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago