DEV Community

Cover image for How to create an npm package πŸ‘¨πŸ»β€πŸ’»βš‘
Atul Tripathi
Atul Tripathi

Posted on

How to create an npm package πŸ‘¨πŸ»β€πŸ’»βš‘

Hello Devs,

There are 2 ways to use your component library as a package :-

  1. npm package
  2. github actions

1. For npm package

Image description

πŸ”— https://docs.npmjs.com/creating-and-publishing-private-packages…

πŸ”— https://levelup.gitconnected.com/publish-react-components-as-an-npm-package-7a671a2fb7f…

πŸ”— https://youtu.be/hf6Z8OZanec

2. For GitHub actions

Image description

πŸ”— https://youtu.be/7CNC0QBCY-Y

Top comments (0)