Skip to content

Commit 4e030c7

Browse files
committed
feat(build): switch to use load-grunt-tasks
https://github.com/sindresorhus/load-grunt-tasks
1 parent 2d915d6 commit 4e030c7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

templates/common/Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ var mountFolder = function (connect, dir) {
1313
// 'test/spec/**/*.js'
1414

1515
module.exports = function (grunt) {
16-
// load all grunt tasks
17-
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
16+
require('load-grunt-tasks')(grunt);
1817
require('time-grunt')(grunt);
1918

2019
// configurable paths

templates/common/_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"grunt-rev": "~0.1.0",
2222
"grunt-open": "~0.2.0",
2323
"grunt-concurrent": "~0.3.0",
24-
"matchdep": "~0.1.2",
24+
"load-grunt-tasks": "~0.1.0",
2525
"connect-livereload": "~0.2.0",
2626
"grunt-google-cdn": "~0.2.0",
2727
"grunt-ngmin": "~0.0.2",

0 commit comments

Comments
 (0)