Skip to content

Starter for React library with Storybook and example app in Lerna monorepo

License

Notifications You must be signed in to change notification settings

softspiders/react-lib-storybook-lerna-ts-starter

Repository files navigation

SOFTSPIDERS

Starter for React library on TypeScript with Storybook and example app in Lerna


Feature tags

  • app
  • build
  • lerna
  • react
  • starter
  • storybook
  • typescript
  • uilib

Parents

-storybook, typescript

Children

+jest, storyshot


Authors

Serg Rajab


Install

  1. Clone this repo

  2. Install dependencies

    # yarn is fine too
    npm i

    then

    npm run bootstrap
  3. To build all

    npm run build:app
    npm start
  4. To work with lib

    npm run build:lib
    npm run story

    This will start storybook

  5. Now, it's ready!

Dev flow

  1. Try changing the lib, it should reflect the changes directly
  2. Now, you can start developing your React library!

License

Licensed under the MIT license.