gulp package.json
{ "name": "gulpAngular1", "version": "0.0.0", "dependencies": {}, "devDependencies": { "gulp": "~3.8.10", "gulp-angular-templatecache": "~1.4.2",//template 缓存 "del": "~0.1.3",//删除 "gulp-consolidate": "~0.1.2",//template 合并,支持jade,handbar编辑成html(delete) "gulp-csso": "~0.2.9",//压缩css "gulp-filter": "~1.0.2",//资源过滤 "gulp-flatten": "~0.0.4",//去除相对路径 "gulp-imagemin": "~2.0.0",//压缩image "gulp-jshint": "~1.9.0",//js检查 "gulp-load-plugins": "~0.7.1",//自动加载gulp插件,并将它们设置到一个全局对象上,如$ "gulp-size": "~1.1.0",//在log里显示文件size "gulp-uglify": "~1.0.1",//js压缩 "gulp-useref": "~1.0.2",//替换build "gulp-ng-annotate": "~0.3.6",//angular注入 "gulp-replace": "~0.5.0",//字符串替换 "gulp-rename": "~1.2.0",//另命名 "gulp-rev": "~2.0.1",//将文件名加一个hash值,解决缓存问题 "gulp-rev-replace": "~0.3.1",//配合rev使用,将加了时间戳的文件替换原文件 "gulp-minify-html": "~0.1.7",//压缩html "gulp-inject": "~1.0.2"//在html中插入 }, "engines": { "node": ">=0.10.0" } }
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。