From 20d10c9338d456c0d50e601182af245c557f5cc7 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 11 Sep 2014 01:11:00 -0400 Subject: [PATCH] Load all grunt- tasks automatically --- Gruntfile.js | 3 +-- package.json | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 58b8d9d..484ddd3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -22,8 +22,7 @@ module.exports = function(grunt) { } }); - grunt.loadNpmTasks('grunt-trimtrailingspaces'); - grunt.loadNpmTasks('grunt-contrib-watch'); + require('load-grunt-tasks')(grunt); grunt.registerTask('default', []); grunt.loadTasks('tasks'); diff --git a/package.json b/package.json index 19b6ab9..e9d1ef5 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "dependencies": { "grunt": "^0.4.5", "grunt-contrib-watch": "^0.6.1", - "grunt-trimtrailingspaces": "^0.4.0" + "grunt-trimtrailingspaces": "^0.4.0", + "load-grunt-tasks": "^0.6.0" } }