nkpgardose/itsura

๐Ÿš€ Deploy components as NPM packages

Opened this issue ยท 0 comments

Find a way to deploy each react component under src/components. Directory and how the components placed are already OK.

Screen Shot 2019-12-13 at 8 06 29 pm

The only missing file here is package.json and deploy it as npm package.

  • The name should look like @itsura/Btn. So that we could use it like import Btn from '@itsura/Btn

I'm having a problem adding package.json on each component because it conflicts on CRA yarn commands like yarn start or yarn build