Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 998 Bytes

README.md

File metadata and controls

50 lines (34 loc) · 998 Bytes

@ferlab-ui React core components

Install

npm i @ferlab/ui

Requirements

Styles are installed separetly

@ferlab/style

Development

Storybook

In order to see and test all available components

First you need to build the components

npm run build

or run in development mode

npm start

cd ferlab-ui/storybook
npm start

Developper

All work must be done based on master All styles automatically reference to the @ferlab/styles package

Publish new release

To publish a new release once a PR as been validated and merged

  1. Try to install the package to make sure everything work corretly

    cd [test dir] && npm i [full_path]/ferlab-ui/packages/ui

  2. Delete core folder to remove deleted files

    rm -rf core/

  3. Prepare the package

    npm run build

  4. On master Update package.json version
  5. Create a tag to the new version git tag [semantic version]
  6. Login to npm

    npm login

  7. Push the new version

    npm publish