本地安装gulp的166项怎么办?
What should I do with the 166 items when I installed gulp locally?
在我 $ 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"
}
}
这正常吗?我期待 gulp 的一个文件夹。
继续处理这么多文件可以吗?
谢谢
那只是 Gulp 包 的依赖项。正如您在 Gulp npm 页面上看到的那样,主包只有 13 个依赖项 ,但是每个 Gulp 依赖的包都有更多的依赖项,所以我会说像Gulp这样的包166个小包是正常的。
PS:根据包的名称,我假设您正在学习 Brad Schiff 在 Udemy 上的课程 :D
在我 $ 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"
}
}
这正常吗?我期待 gulp 的一个文件夹。 继续处理这么多文件可以吗? 谢谢
那只是 Gulp 包 的依赖项。正如您在 Gulp npm 页面上看到的那样,主包只有 13 个依赖项 ,但是每个 Gulp 依赖的包都有更多的依赖项,所以我会说像Gulp这样的包166个小包是正常的。
PS:根据包的名称,我假设您正在学习 Brad Schiff 在 Udemy 上的课程 :D