Skip to content

Commit 05bb324

Browse files
committed
chore(grunt): adds grunt-conventional-changelog
see http://github.com/btford/grunt-conventional-changelog
1 parent 1c5c5e1 commit 05bb324

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

gruntFile.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = function (grunt) {
1010
grunt.loadNpmTasks('grunt-contrib-jshint');
1111
grunt.loadNpmTasks('grunt-contrib-copy');
1212
grunt.loadNpmTasks('grunt-karma');
13+
grunt.loadNpmTasks('grunt-conventional-changelog');
1314

1415

1516
/**
@@ -131,8 +132,13 @@ module.exports = function (grunt) {
131132
{src: ['<%= dist %>/.tmpl/index.tmpl'], dest: '<%= dist %>/index.html'}
132133
]
133134
}
135+
},
136+
changelog: {
137+
options: {
138+
dest: 'CHANGELOG.md'
139+
}
134140
}
135141
};
136142
grunt.initConfig(initConfig);
137143

138-
};
144+
};

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"grunt-contrib-jshint": "~0.5.4",
1515
"grunt-contrib-uglify": "~0.2.1",
1616
"grunt-contrib-watch": "~0.4.3",
17-
"grunt-karma": "~0.6.2"
17+
"grunt-karma": "~0.6.2",
18+
"grunt-conventional-changelog": "~1.0.0"
1819
},
1920
"scripts": {},
2021
"repository": {

0 commit comments

Comments
 (0)