From 4e030c78387ec2a60581ff6346b707c98ddb2508 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 15 Aug 2013 22:59:12 +0200 Subject: [PATCH] feat(build): switch to use load-grunt-tasks https://github.com/sindresorhus/load-grunt-tasks --- templates/common/Gruntfile.js | 3 +-- templates/common/_package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/common/Gruntfile.js b/templates/common/Gruntfile.js index 20aaa2125..5418a7838 100644 --- a/templates/common/Gruntfile.js +++ b/templates/common/Gruntfile.js @@ -13,8 +13,7 @@ var mountFolder = function (connect, dir) { // 'test/spec/**/*.js' module.exports = function (grunt) { - // load all grunt tasks - require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); + require('load-grunt-tasks')(grunt); require('time-grunt')(grunt); // configurable paths diff --git a/templates/common/_package.json b/templates/common/_package.json index f480d21d3..cea0e5fe5 100644 --- a/templates/common/_package.json +++ b/templates/common/_package.json @@ -21,7 +21,7 @@ "grunt-rev": "~0.1.0", "grunt-open": "~0.2.0", "grunt-concurrent": "~0.3.0", - "matchdep": "~0.1.2", + "load-grunt-tasks": "~0.1.0", "connect-livereload": "~0.2.0", "grunt-google-cdn": "~0.2.0", "grunt-ngmin": "~0.0.2",