Skip to content

Commit bd7052c

Browse files
Merge feature/matchdep for Grunt
1 parent 6d5c9c6 commit bd7052c

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

Gruntfile.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,9 @@ module.exports = function(grunt) {
9898
});
9999

100100
// == Grunt Loaded Tasks
101-
grunt.loadNpmTasks('grunt-contrib-qunit');
102-
grunt.loadNpmTasks('grunt-contrib-jshint');
103-
grunt.loadNpmTasks('grunt-contrib-watch');
104-
grunt.loadNpmTasks('grunt-contrib-concat');
105-
grunt.loadNpmTasks('grunt-contrib-uglify');
106-
grunt.loadNpmTasks('grunt-contrib-sass');
107-
grunt.loadNpmTasks('grunt-contrib-compass');
108-
grunt.loadNpmTasks('grunt-contrib-livereload');
101+
// http://chrisawren.com/posts/Advanced-Grunt-tooling
102+
// npm install --save-dev matchdep FTW
103+
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
109104

110105
// == Grunt Registered Tasks
111106
grunt.registerTask('default', ['jshint', 'compass']);

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "Typeplate",
3-
"version": "1.0.2",
2+
"name": "typeplate",
3+
"version": "1.1.0",
44
"homepage": "http://typeplate.com",
5-
"repository": "https://github.com/typeplate/typeplate.github.com",
5+
"repository": "https://github.com/typeplate/typeplate.github.io",
66
"licenses": "CC-3.0",
77
"author": {
88
"name": "Dennis Gaebel and Zachary Kain"
@@ -17,6 +17,7 @@
1717
"grunt-contrib-sass": "~0.3.0",
1818
"grunt-contrib-watch": "~0.4.2",
1919
"grunt-contrib-livereload": "~0.1.2",
20-
"grunt-contrib-compass": "~0.2.0"
20+
"grunt-contrib-compass": "~0.2.0",
21+
"matchdep": "~0.1.2"
2122
}
2223
}

0 commit comments

Comments
 (0)