chore(deps): bump grunt-conventional-changelog

There are a ton of bug fixes and nice new features.
This commit is contained in:
Steve Mao 2015-08-11 11:38:29 +10:00
parent ea6031a25f
commit 247176d283
2 changed files with 9 additions and 5 deletions

View File

@ -76,10 +76,14 @@ module.exports = function (grunt) {
} }
}, },
changelog: { conventionalChangelog: {
options: { options: {
repository: 'http://github.com/showdownjs/showdown', changelogOpts: {
dest: 'CHANGELOG.md' preset: 'angular'
}
},
release: {
src: 'CHANGELOG.md'
} }
}, },
@ -163,7 +167,7 @@ module.exports = function (grunt) {
grunt.registerTask('lint', ['jshint', 'jscs']); grunt.registerTask('lint', ['jshint', 'jscs']);
grunt.registerTask('test', ['clean', 'lint', 'concat:test', 'simplemocha:node', 'clean']); grunt.registerTask('test', ['clean', 'lint', 'concat:test', 'simplemocha:node', 'clean']);
grunt.registerTask('build', ['test', 'concat:dist', 'uglify']); grunt.registerTask('build', ['test', 'concat:dist', 'uglify']);
grunt.registerTask('prep-release', ['build', 'changelog']); grunt.registerTask('prep-release', ['build', 'conventionalChangelog']);
// Default task(s). // Default task(s).
grunt.registerTask('default', ['test']); grunt.registerTask('default', ['test']);

View File

@ -45,7 +45,7 @@
"grunt-contrib-concat": "^0.5.0", "grunt-contrib-concat": "^0.5.0",
"grunt-contrib-jshint": "^0.10.0", "grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.6.0", "grunt-contrib-uglify": "^0.6.0",
"grunt-conventional-changelog": "^1.1.0", "grunt-conventional-changelog": "^4.0.0",
"grunt-jscs": "^1.2.0", "grunt-jscs": "^1.2.0",
"grunt-simple-mocha": "^0.4.0", "grunt-simple-mocha": "^0.4.0",
"js-beautify": "^1.5.6", "js-beautify": "^1.5.6",