进入项目目录
全局安装是-g: npm install -g webpack
--save:是将安装的文件配置在package.json里
搭建项目:npm init
npm
原文:http://www.cnblogs.com/cxdxm/p/6862953.html