Skip to content

Create and publish React Components using TypeScript + Styled Components + Storybook + TSDX

License

Notifications You must be signed in to change notification settings

hhimanshu/ts-react-components-lib

Repository files navigation

TypeScript React Component Library

semantic-release npm

This library is published on npm and demonstrates how to write your own React components in TypeScript and publish them as npm package.

Features

Commands

  • yarn install to install the necessary dependencies
  • yarn start to start developing your components
  • yarn test to test your components
  • yarn lint to lint your code
  • yarn lint --fix to fix linting issues in your code
  • yarn prepare to create the production bundle
  • yarn storybook to start storybook in development mode (starts as a new process)
  • yarn build-storybook to create production version of storybook for the project. This can be deployment to platforms such as Vercel, Gatsby, Surge, or Firebase hosting
  • yarn size tells you size of your library for the production bundle

About

Create and publish React Components using TypeScript + Styled Components + Storybook + TSDX

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published