【发布时间】:2016-03-21 13:02:59
【问题描述】:
我一直在通过 CSS 技巧跟踪 Gulp 安装 - https://css-tricks.com/gulp-for-beginners/ 我注意到当我看到他们的文件夹快照时,应该在 node_module 文件夹中......他们只有 bin 和 gulp。我有 40 多个要添加的文件夹。 这会发生吗? Gulp 是否需要这些依赖项?如果不是,为什么会这样?这是我的 package.json 发出的某些信息和 1/2 安装时创建的文件夹的屏幕截图。我开始干净的项目(没有文件夹或疯狂安装卸载完成)。
{
"name": "---",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+-----.git"
},
"keywords": [
"---",
"---'",
"---",
"---"
],
"author": "-----",
"license": "ISC",
"homepage": "------",
"devDependencies": {
"gulp": "^3.9.0"
}
}
【问题讨论】: