@hhimanshu/ts-react-components-lib

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) ![npm](https://img.shields.io/npm/v/@hhimanshu/ts-react-components-lib)

Usage no npm install needed!

<script type="module">
  import hhimanshuTsReactComponentsLib from 'https://cdn.skypack.dev/@hhimanshu/ts-react-components-lib';
</script>

README

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