gulp-my-tasks: upgrade npm versions
authorgustavo <gu.martinm@gmail.com>
Thu, 31 Dec 2015 01:33:26 +0000 (02:33 +0100)
committergustavo <gu.martinm@gmail.com>
Thu, 31 Dec 2015 01:33:26 +0000 (02:33 +0100)
gulp/gulp-my-tasks/package.json
gulp/gulp-my-tasks/tasks/tasks.js

index 3aabd62..082a416 100644 (file)
@@ -11,7 +11,7 @@
   "license": "Apache-2.0",
   "main" : "index.js",
   "dependencies": {
-    "del": "~2.0.2",
+    "del": "~2.2.0",
     "express": "~4.13.3",
     "express-http-proxy": "~0.6.0",
     "extend": "~3.0.0",
     "gulp-angular-templatecache": "~1.8.0",
     "gulp-batch": "~1.0.5",
     "gulp-bytediff": "~1.0.0",
+    "gulp-cssnano": "~2.0.0",
     "gulp-filter": "~3.0.1",
     "gulp-header": "~1.7.1",
     "gulp-htmlhint": "~0.3.0",
+    "gulp-htmlmin": "~1.3.0",
     "gulp-if": "~2.0.0",
     "gulp-inject": "~3.0.0",
     "gulp-jscs": "~3.0.2",
-    "gulp-jscs-stylish" : "~1.2.1",
-    "gulp-jshint": "~1.12.0",
+    "gulp-jscs-stylish" : "~1.3.0",
+    "gulp-jshint": "~2.0.0",
     "gulp-load-plugins": "~1.1.0",
-    "gulp-minify-css": "~1.2.1",
-    "gulp-minify-html": "~1.0.4",
     "gulp-ng-annotate": "~1.1.0",
     "gulp-ngdocs": "~0.2.13",
-    "gulp-nodemon": "~2.0.4",
+    "gulp-nodemon": "~2.0.6",
     "gulp-order": "~1.1.1",
     "gulp-print": "~2.0.1",
     "gulp-rev": "~6.0.1",
-    "gulp-rev-replace": "~0.4.2",
+    "gulp-rev-replace": "~0.4.3",
     "gulp-task-listing": "~1.0.1",
-    "gulp-uglify": "~1.4.2",
-    "gulp-useref": "~3.0.0",
+    "gulp-uglify": "~1.5.1",
+    "gulp-useref": "~3.0.4",
     "gulp-util": "~3.0.7",
     "gulp-watch": "~4.3.5",
-    "jasmine-core": "~2.3.4",
-    "jshint-stylish": "~2.0.1",
-    "karma": "~0.13.15",
+    "jasmine-core": "~2.4.1",
+    "jshint-stylish": "~2.1.0",
+    "karma": "~0.13.16",
     "karma-coverage": "~0.5.3",
     "karma-jasmine": "~0.3.6",
     "karma-junit-reporter": "~0.3.8",
-    "karma-phantomjs-launcher": "~0.2.1",
+    "karma-phantomjs-launcher": "~0.2.2",
     "morgan": "~1.6.1",
-    "phantomjs": "~1.9.18",
+    "phantomjs": "~1.9.19",
     "serve-favicon": "~2.3.0",
-    "wiredep": "~3.0.0-beta",
-    "yargs": "~3.29.0"
+    "wiredep": "~3.0.0",
+    "yargs": "~3.31.0"
   },
   "devDependencies": {
     "gulp": "~3.9.0"
index 7eb648e..be78912 100644 (file)
@@ -53,7 +53,7 @@ module.exports = function(gulp, customConfig) {
 
     return gulp.src(config.jsAllFiles)
       .pipe(plugins.if(args.verbose, plugins.print(function(filepath) {
-        return "vet-js: " + filepath;
+        return 'vet-js: ' + filepath;
       })))
       .pipe(plugins.jshint(config.jsHintConfigurationFile))
       .pipe(plugins.jscs({
@@ -79,7 +79,7 @@ module.exports = function(gulp, customConfig) {
 
     return gulp.src(config.html)
       .pipe(plugins.if(args.verbose, plugins.print(function(filepath) {
-        return "vet-html: " + filepath;
+        return 'vet-html: ' + filepath;
       })))
       .pipe(plugins.htmlhint({htmlhintrc: config.htmlHintConfigurationFile}))
       .pipe(plugins.htmlhint.failReporter());
@@ -210,7 +210,7 @@ module.exports = function(gulp, customConfig) {
       // Get the css
       .pipe(cssFilter)
       .pipe(plugins.if(args.verbose, plugins.bytediff.start()))
-      .pipe(plugins.minifyCss())
+      .pipe(plugins.cssnano())
       .pipe(plugins.if(args.verbose, plugins.bytediff.stop(byteDiffFormat)))
       .pipe(cssFilter.restore)
 
@@ -319,10 +319,10 @@ module.exports = function(gulp, customConfig) {
     return gulp
       .src(config.html)
       .pipe(plugins.if(args.verbose, plugins.bytediff.start()))
-      .pipe(plugins.minifyHtml({
-        empty: true,
-        spare: true,
-        quotes: true
+      .pipe(plugins.htmlmin({
+        removeEmptyAttributes: false,
+        removeRedundantAttributes: false,
+        removeAttributeQuotes: false
       }))
       .pipe(plugins.if(args.verbose, plugins.bytediff.stop(byteDiffFormat)))
       .pipe(plugins.angularTemplatecache(config.templateFile, {
@@ -386,7 +386,7 @@ module.exports = function(gulp, customConfig) {
     return plugins.inject(
       gulp.src(source)
         .pipe(plugins.if(args.verbose, plugins.print(function(filepath) {
-          return "inject: " + filepath;
+          return 'inject: ' + filepath;
         })))
         .pipe(plugins.angularFilesort()), options);
   }