Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 262528a

Browse files
committed
Merge pull request #119 from PascalPrecht/grunt-conventional-changelog
chore(grunt): add grunt-conventional-changelog to automate changelog generation
2 parents fb5a7c4 + 6c1261d commit 262528a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Gruntfile.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = function (grunt) {
77
grunt.loadNpmTasks('grunt-contrib-jshint');
88
grunt.loadNpmTasks('grunt-contrib-watch');
99
grunt.loadNpmTasks('grunt-karma');
10+
grunt.loadNpmTasks('grunt-conventional-changelog');
1011

1112
// Project configuration.
1213
initConfig = {
@@ -46,6 +47,11 @@ module.exports = function (grunt) {
4647
jshintrc: '.jshintrc'
4748
}
4849
},
50+
changelog: {
51+
options: {
52+
dest: 'CHANGELOG.md'
53+
}
54+
}
4955
};
5056

5157
// Register tasks

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"grunt-contrib-jshint": "~0.6.4",
2424
"grunt-contrib-watch": "~0.5.3",
2525
"grunt-karma": "~0.6.2",
26-
"karma": "~0.10.2"
26+
"karma": "~0.10.2",
27+
"grunt-conventional-changelog": "~1.0.0"
2728
}
2829
}

0 commit comments

Comments
 (0)