How to pack a react application in the npm package for private use?

The crux of the matter is that I have the app on reacte built on a pile of other modules. They need to work in other applications as a widget that can be soimportant with npm.

How do I pack it all?
Is there a need to add/remove additional files and do as you prepare the application?
Would everything be OK if I connect third-party modules?
After make the package private?
Then how to pass parameters to your widget component and how to handle these settings on the side of the component?
And if the application created in create-react-app, do I have it ejecting or bildit (eject/build)?

Any tip, link will be very useful, thank you.
June 5th 19 at 21:31

Find more questions by tags npmReact