Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 64058a8

Browse files
committed
Merge pull request #32 from PascalPrecht/grunt-conventional-changelog
chore(grunt): adds grunt-conventional-changelog plugin
2 parents 697ad0e + fa07dd9 commit 64058a8

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
@@ -5,6 +5,7 @@ module.exports = function (grunt) {
55
grunt.loadNpmTasks('grunt-contrib-uglify');
66
grunt.loadNpmTasks('grunt-contrib-copy');
77
grunt.loadNpmTasks('grunt-contrib-watch');
8+
grunt.loadNpmTasks('grunt-conventional-changelog');
89

910
// Default task.
1011
grunt.registerTask('default', ['jshint', 'karma:unit']);
@@ -95,7 +96,12 @@ module.exports = function (grunt) {
9596
{src: ['<%= dist %>/.tmpl/index.tmpl'], dest: '<%= dist %>/index.html'}
9697
]
9798
}
99+
},
100+
changelog: {
101+
options: {
102+
dest: 'CHANGELOG.md'
103+
}
98104
}
99105
});
100106

101-
};
107+
};

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"grunt-contrib-jshint": "~0.5.3",
1414
"grunt-contrib-uglify": "~0.2.0",
1515
"grunt-contrib-copy": "~0.4.1",
16-
"grunt-contrib-watch": "~0.5.1"
16+
"grunt-contrib-watch": "~0.5.1",
17+
"grunt-conventional-changelog": "~1.0.0"
1718
},
1819
"scripts": {},
1920
"repository": {

0 commit comments

Comments
 (0)