1.0.15 • Published 2 years ago

kb-lib-demo v1.0.15

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

KB Lib Demo NPM Package

This package uses:

  • yarn for running the scripts
  • Storybook to display the components and documentation
  • Rollup and Babel to package up for NPM
  • Chromatic and Jest for component testing
  • Theme-UI to build the components and theme

...and is written in Typescript.

The build scripts in the package.json file -

"scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build",
    "test-storybook": "test-storybook",
    "build": "rollup -c",
    "prepublishOnly": "yarn build",
    "chromatic": "chromatic --exit-zero-on-changes"
  },

yarn storybook will start Storybook for development

yarn build bundles the package for NPM

yarn test-storybook will run the test scripts locally along side yarn storybook

The other commands are more for the Github actions to run.

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago