Hailwood – 10-06 Apr 11

If I'm creating a package that requires the consumer to have a dependency I'll add it to peerDependencies (e.g. if my package uses tailwindcss for styling components, or react for the components). I'm also setting up storybook for the components, which means for dev I need to have tailwindcss installed. So I'm wondering if I need to have tailwindcss/react/react-dom listed under peerDependencies and devDependencies or whether just peerDependencies is enough? It does seem like having them listed under just peerDependencies causes them to be installed, but thought I'd get confirmation.
Unknown User373d ago