0.1.74 • Published 1 year ago

@dheerajanand/components v0.1.74

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

yarn storybook

Note: this is a one-way operation. Once you eject, you can’t go back!

yarn storybook

Create private npm package

https://storybook.js.org/tutorials/design-systems-for-developers/react/en/distribute/

Deployed the Storybook to Netlify

https://storybookcomp.netlify.app/

npm adduser

Add credentials to publish the build

To use package

https://stackoverflow.com/questions/56688893/how-to-use-a-module-when-it-could-not-find-a-declaration-file

Create file src/@types/dheeraj_anand_components/index.d.ts

Provide declaration declare module "@dheerajanand/components";

Config using Rollup Option: https://prateeksurana.me/blog/react-component-library-using-storybook-6/