11.0.0 • Published 6 years ago

jebtest-2 v11.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Components library

Demo / Example Package

  1. yarn start
  2. http://localhost:9001/

Publishing

Versioning TBD Fixed/Locked mode. independent mode.

Scripts

A look at the scripts that are available:

  • To bootstrap your packages and start your UI development environment run:
yarn start
  • To easily install all the dependencies in your individual packages at once run:
yarn bootstrap
  • Run all your packages tests and generate coverage report:
yarn test
  • To export your storybook as a static app:
yarn export-static-storybook
  • It will be placed in .out/ To test locally after export:
cd .out
python -m SimpleHTTPServer
  • Create a new release of the packages that have been updated. Prompts for a new version and updates all the packages on git and npm:
yarn publish

This project is powered by Lerna so all Lerna commands are also available. If you do wish to use these.

Creating A Package

  1. Create a new directory for your package:

A basic package structure will look like:

package-name/
 ├──src/
 |   ├──index.js                    * Entry point for you package
 |   ├──index.spec.js               * Test file for entry point
 |   └──styles/                     * Styled components directory
 |       └──styledComponent.js
 │
 ├──index.story.js                  * Storybook story for entry point
 ├──.gitignore                      * .gitignore specific to this package
 ├──README.md                       * README specific to this package
 └──package.json                    * Info for this independent package
  1. Run yarn start which will bootstrap your package and run Storybook.

  2. Start building out your Component/Package and use the Story to view it as you develop.

  3. Write Tests and Publish!

11.0.0

6 years ago

10.0.0

6 years ago

1.0.0

6 years ago