I
I
Innokenty Ivanov2017-05-03 12:06:57
Node.js
Innokenty Ivanov, 2017-05-03 12:06:57

How do I know which packages to install with --save and which with --save-dev?

Here is my package.json. I know which packages go into production (--save), and which are used only in development (--save-dev), so I duplicate most of the packages both there and there.
Question: are there any validators/linters that will poke and indicate which package to specify where?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2017-05-03
@sim3x


All that will be
put on the server

K
Konstantin Kitmanov, 2017-05-03
@k12th

Does not exist. How do they know if you're writing a gulp plugin or using it to build?
On the topic: use the search.
https://toster.ru/answer?answer_id=559717#comments...
What is the difference between --save-dev and --save?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question