diff --git a/Gruntfile.js b/Gruntfile.js index cef992b..985ec2d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -85,11 +85,7 @@ module.exports = function(grunt) { }); // Load the plugins - grunt.loadNpmTasks('grunt-contrib-concat'); - grunt.loadNpmTasks('grunt-contrib-copy'); - grunt.loadNpmTasks('grunt-contrib-sass'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-jekyll'); + require('load-grunt-tasks')(grunt, {scope: 'devDependencies'}); // Default task(s). diff --git a/package.json b/package.json index de2faa3..66b9093 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "grunt-contrib-nodeunit": "~0.3.0", "grunt-contrib-sass": "~0.7.1", "grunt-contrib-watch": "~0.5.3", - "grunt-jekyll": "~0.4.1" + "grunt-jekyll": "~0.4.1", + "load-grunt-tasks": "~0.4.0" } }