D
D
DrunkMaster2016-12-13 17:25:13
Building projects
DrunkMaster, 2016-12-13 17:25:13

What is the difference between Dependencies and DevDependencies?

I'm a little confused about the installation. For example sass and pug we put how?

npm gulp-sass --save-dev
npm install gulp-pug --save-dev

Everything that is simple with --save is Dependencies - it will go into production, everything that with --save-dev is DevDependencies will not go into production? So if I install Bower myself, then it must be installed with --save-dev. we don’t need it on the sale, and then when I use Bower to install jquery, I just need to install it with --save. jquery should go into production?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2016-12-13
@DrunkMaster

This question has been asked many times before, for example 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