So I am trying to build my first react component library. My library is using flowbite
and also react-icons
. I've done some reading on the differences but I still am not sure where do these go.
I want to say just normal dependencies no? As they are actually needed to build my components when my client would use the library? Not sure about it though?
If you import and use them in your production code(ie should be included to your bundle) - it goes to dependencies.
Otherwise, if it's needed for building, webpack, tests, storybook stories, typing, linting and stuff like that - it's devDependency
UPD: Here's small cheatsheet: