Do you add
react in your dependencies or devDependencies inside package.json and explain why you choose that?
It can be here since its part of the application which gets shipped. Or you can say its used by the application/library at runtime.
It is still part of the dependency but its needed during release/compile time but for consumers they don't need it since bundled code already has that in it.