From c514aebb7c5a167cc743aa1a4a7163d33f6f4cf8 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Sat, 21 Sep 2013 19:57:11 +0100 Subject: [PATCH] chore(build): update gruntfile to use load-grunt-tasks --- Gruntfile.js | 5 ++--- package.json | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) 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"