top | item 46507746

(no title)

sponnath | 1 month ago

It does not recursively install dev-dependencies.

discuss

order

ashishb|1 month ago

> It does not recursively install dev-dependencies.

So, these ~100 [direct] dev dependencies are installed by anyone who does `npm install react`, right?

frio|1 month ago

No. They’re only installed if you git clone react and npm install inside your clone.

They are only installed for the topmost package (the one you are working on), npm does not recurse through all your dependencies and install their devDependencies.

SkiFire13|1 month ago

> ~100 [direct]

When you do `npm install react` the direct dependency is `react`. All of react's dependencies are indirect.