D:\home\lehoon\develop\buildpro>npm instll module_name npm WARN saveError ENOENT: no such fileor directory, open'D:\home\lehoon\develop\buildpro\package.json' npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such fileor directory, open'D:\home\lehoon\develop\buildpro\package.json' npm WARN buildpro No description npm WARN buildpro No repository field. npm WARN buildpro No README data npm WARN buildpro No license field.
+ module_name@1.0.0 added 43 packages in 5.119s
D:\home\lehoon\develop\buildpro>npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for definitive documentation on these fields and exactly what they do.
Use `npm install <pkg>` afterwards to install a package and save it asa dependency in the package.json file.
Press ^C at any time toquit. package name: (buildpro) version: (1.0.0) description: entry point: (index.js) test command: git repository: keywords: author: license: (ISC) About towriteto D:\home\lehoon\develop\buildpro\package.json:
var gulp = require('gulp'); var runSequence = require('run-sequence'); var rev = require('gulp-rev'); var revCollector = require('gulp-rev-collector');
//要处理的项目工程目录 var programPath = 'D:/workspace/lshop'; var cssSrc=programPath + '/css/**/*.css'; var jsSrc=programPath + '/js/**/*.js';