Skip to content

Commit

Permalink
回复grunt部署文件
Browse files Browse the repository at this point in the history
  • Loading branch information
wteam-xq committed Oct 4, 2015
1 parent 272a213 commit e881d21
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ gulp.task('copy', function(cb){
copy('fonts/*', 'dest/fonts/');
cb();
});

// 3.压缩 js 文件;(包括合并操作, 多个js文件压缩成一个文件)
gulp.task('uglifyjs', function(){
// 1. 找到文件
Expand Down Expand Up @@ -102,7 +103,6 @@ gulp.task('htmlmin', function () {
});



/*************************************************************
* 组合任务
************************************************************/
Expand Down
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
"url": "https://github.com/wteam-xq/threeKingdoms.git"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-concat": "~0.5.0",
"grunt-contrib-copy": "~0.7.0",
"grunt-contrib-cssmin": "~0.10.0",
"grunt-contrib-htmlmin": "~0.3.0",
"grunt-contrib-imagemin": "~0.9.2",
"grunt-contrib-uglify": "~0.6.0",
"grunt-strip": "~0.2.1",
"grunt-usemin": "~2.6.2",
"copy": "^0.1.2",
"del": "^2.0.2",
"gulp-concat": "^2.6.0",
Expand Down

0 comments on commit e881d21

Please sign in to comment.