node来了 06 -package.json

package.json 这个是个配置文件,用来管理 node_modules包下的模块, 

当你去给人家copy 模块时,   将这个文件  copy 过去 

运行 npm install 就可以按照 package.json 中 dependencies  的 配置去 自动下载对应的模块!

猜你喜欢

转载自blog.csdn.net/qq_15009739/article/details/82938126