diff --git a/Gruntfile.js b/Gruntfile.js index 1e93fc9..f214842 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,10 +4,7 @@ module.exports = function (grunt) { var initConfig; // Loading external tasks - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-karma'); - grunt.loadNpmTasks('grunt-conventional-changelog'); + require('load-grunt-tasks')(grunt); // Project configuration. initConfig = { diff --git a/package.json b/package.json index e4dd35f..9b83136 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "grunt-contrib-watch": "~0.5.3", "grunt-karma": "~0.6.2", "karma": "~0.10.2", - "grunt-conventional-changelog": "~1.0.0" + "grunt-conventional-changelog": "~1.0.0", + "load-grunt-tasks": "~0.2.0" } }