A
A
Alexander2017-04-14 20:17:15
npm
Alexander, 2017-04-14 20:17:15

What's the point of the dev-dependencies section?

I don't understand everything. What is the difference between normal dependencies and dev-dependencies?
It is clear that one is for development, and the other is for production. But when does it start to make sense? Those. in some cases the project is deployed ignoring dev-dependencies? I probably don't understand the project deployment process itself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RidgeA, 2017-04-15
@aleksand44

If you install the package directly, the dependencies from dev-dependencies will be installed. If you install a package as a dependency, then these packages will not be installed.
Here, in principle, it is written https://docs.npmjs.com/files/package.json#dependencies

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question