diff --git a/Gruntfile.js b/Gruntfile.js index c05089a03..23ab17759 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,6 +3,8 @@ var markdown = require('marked'); var semver = require('semver'); module.exports = function (grunt) { + require('load-grunt-tasks')(grunt); + grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), changelog: { @@ -54,8 +56,5 @@ module.exports = function (grunt) { }, grunt.task.current.async()); }); - grunt.loadNpmTasks('grunt-release'); - grunt.loadNpmTasks('grunt-conventional-changelog'); - grunt.registerTask('default', ['bump', 'changelog', 'stage', 'release']); }; diff --git a/package.json b/package.json index f30cbbd8f..528a71d00 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "grunt": "~0.4.1", "grunt-contrib-jshint": "~0.6.0", "grunt-conventional-changelog": "~1.0.0", + "load-grunt-tasks": "~0.1.0", "marked": "~0.2.8", "semver": "~2.1.0", "grunt-release": "~0.5.1"