Skip to content

Commit c514aeb

Browse files
committed
chore(build): update gruntfile to use load-grunt-tasks
1 parent 9254cfb commit c514aeb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gruntfile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ var markdown = require('marked');
33
var semver = require('semver');
44

55
module.exports = function (grunt) {
6+
require('load-grunt-tasks')(grunt);
7+
68
grunt.initConfig({
79
pkg: grunt.file.readJSON('package.json'),
810
changelog: {
@@ -54,8 +56,5 @@ module.exports = function (grunt) {
5456
}, grunt.task.current.async());
5557
});
5658

57-
grunt.loadNpmTasks('grunt-release');
58-
grunt.loadNpmTasks('grunt-conventional-changelog');
59-
6059
grunt.registerTask('default', ['bump', 'changelog', 'stage', 'release']);
6160
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"grunt": "~0.4.1",
3434
"grunt-contrib-jshint": "~0.6.0",
3535
"grunt-conventional-changelog": "~1.0.0",
36+
"load-grunt-tasks": "~0.1.0",
3637
"marked": "~0.2.8",
3738
"semver": "~2.1.0",
3839
"grunt-release": "~0.5.1"

0 commit comments

Comments
 (0)