W
W
weranda2020-08-03 10:55:41
gulp.js
weranda, 2020-08-03 10:55:41

How to generate devDependencies parameter values ​​in Gulp?

Greetings.
There is an entry in the package.json file of some projects:

"devDependencies": {
    "coveralls": "github:phated/node-coveralls#2.x",
    "eslint": "^2.13.1",
    "eslint-config-gulp": "^3.0.1",
    "expect": "^1.20.2",
    "mkdirp": "^0.5.1",
    "mocha": "^3.0.0",
    "nyc": "^10.3.2",
    "rimraf": "^2.6.3"
  }

Tell me how it is formed, how it is formed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2020-08-03
@weranda

It is formed by the package manager, with the help of which the author of the software develops something. Conditionally - devDependencies - development packages that the author chose to leave and not add to the prod.
When you write npm install - it will automatically catch up and give you a ready ecosystem for development - like the author.
To add some package to devDependencies - Example
You can also add it to your project usingnpm install --save-dev sass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question