V
V
Vitaly2015-08-03 14:53:21
JavaScript
Vitaly, 2015-08-03 14:53:21

How to make installing npm plugins easier?

Hello, I am installing plugins for the project npm install --save gulp-order, etc. But I don't know which ones and exactly how many there should be. Catch through errors one at a time and put them for a very long time in view of their number, how to find out in advance which plugins are needed?
or as a solution to allow installation of everything needed to run (since the name of the missing package is always specified)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Salnikov, 2015-08-03
@allposts_vitali

If I understand the problem correctly, then do this - create a package.json. In it, prescribe all the programs that you need. I.e:

"dependencies": {
    "bower": "^1.4.1",
    "gulp": "^3.9.0",
    "gulp-autoprefixer": "^2.3.1",
    "gulp-sass": "^2.0.4",
    "preen": "^1.2.0"
  }

After you click write npm install and that's it. Everything that you registered depending on is downloaded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question