Ver código fonte

chore(changelog): add support to automatically create changelogs

Estevão Soares dos Santos 10 anos atrás
pai
commit
c528f4a427
2 arquivos alterados com 5 adições e 0 exclusões
  1. 4 0
      Gruntfile.js
  2. 1 0
      package.json

+ 4 - 0
Gruntfile.js

@@ -51,6 +51,9 @@ module.exports = function (grunt) {
         ]
       }
     },
+    changelog: {
+      options: {}
+    },
     simplemocha: {
       node: {
         src: 'test/node/**/*.js',
@@ -77,6 +80,7 @@ module.exports = function (grunt) {
   grunt.loadNpmTasks('grunt-contrib-jshint');
   grunt.loadNpmTasks('grunt-simple-mocha');
   grunt.loadNpmTasks('grunt-jscs');
+  grunt.loadNpmTasks('grunt-conventional-changelog');
 
   grunt.registerTask('lint', ['jshint', 'jscs']);
   grunt.registerTask('test', ['lint', 'concat', 'simplemocha']);

+ 1 - 0
package.json

@@ -42,6 +42,7 @@
     "grunt-contrib-concat": "^0.5.0",
     "grunt-contrib-jshint": "^0.10.0",
     "grunt-contrib-uglify": "^0.6.0",
+    "grunt-conventional-changelog": "^1.1.0",
     "grunt-jscs": "^1.2.0",
     "grunt-simple-mocha": "^0.4.0",
     "jscs": "^1.10.0",