From ff9e83d7e2ca56eaea96fe67cd01f4e088772300 Mon Sep 17 00:00:00 2001 From: Jan Antala Date: Wed, 4 Dec 2013 14:21:47 +0100 Subject: [PATCH] chore(grunt): use load-grunt-tasks module Makes it way more easier to maintain grunt plugin loading instead of matchdep. --- Gruntfile.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 0239376..fb311ea 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -6,7 +6,7 @@ var mountFolder = function (connect, dir) { module.exports = function (grunt) { // load all grunt tasks - require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); + require('load-grunt-tasks')(grunt); // configurable paths var yeomanConfig = { diff --git a/package.json b/package.json index a669cef..a30c6ab 100644 --- a/package.json +++ b/package.json @@ -22,12 +22,12 @@ "grunt-rev": "~0.1.0", "grunt-karma": "~0.3.0", "grunt-open": "~0.2.0", - "matchdep": "~0.1.1", "grunt-google-cdn": "~0.1.1", "grunt-ngmin": "~0.0.2", "grunt-angular-templates": "~0.3.8", "grunt-recess": "~0.4.0", - "grunt-concurrent": "~0.4.0" + "grunt-concurrent": "~0.4.0", + "load-grunt-tasks": "~0.2.0" }, "engines": { "node": ">=0.8.0"