Search code examples
node.jsnpmgulpdependenciesnode-modules

What should I do with the 166 items when I installed gulp locally?


After I $ npm install gulp --save-dev

    npm WARN deprecated minimatch@2.0.10: Please update to minimatch                       3.0.2 or higher to avoid a RegExp DoS issue
    npm WARN deprecated minimatch@0.2.14: Please update to minimatch                       3.0.2 or higher to avoid a RegExp DoS issue
    npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and be                      fore will fail on node releases >= v7.0. Please update to gracef                      ul-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to fi                      nd it in the tree.
    npm WARN travel-agency@1.0.0 No description
    npm WARN travel-agency@1.0.0 No repository field.
    npm WARN travel-agency@1.0.0 No license field.

    + gulp@3.9.1
    added 186 packages in 20.425s

package.json

     {
          "name": "travel-agency",
          "version": "1.0.0",
          "dependencies": {
            "jquery": "^3.2.1",
            "normalize.css": "^7.0.0"
          },
          "devDependencies": {
            "gulp": "^3.9.1"
          }       
    }

Is this normal? I was expecting one folder of gulp. Is it okay to continue working with this many files? thanks


Solution

  • That's just dependencies for Gulp package. And as you can see at Gulp npm page, the main package has just 13 dependencies, but each of those packages Gulp depends on have more dependencies, so I would say that 166 smaller packages for the package like Gulp are normal.

    PS: By the name of the package I assume that you are working through Brad Schiff's course on Udemy :D