diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..fdcbcda --- /dev/null +++ b/.jshintrc @@ -0,0 +1,27 @@ +{ + "globals": { + "before": false, + "describe": false, + "it": false + }, + "node": true, + "browser": true, + "es5": true, + "esnext": true, + "bitwise": true, + "camelcase": true, + "curly": true, + "eqeqeq": true, + "immed": true, + "indent": 2, + "latedef": true, + "newcap": true, + "noarg": true, + "quotmark": "single", + "regexp": true, + "undef": true, + "unused": true, + "strict": true, + "trailing": true, + "smarttabs": true +} diff --git a/Gruntfile.js b/Gruntfile.js index 4a2b2f3..dce042f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -11,10 +11,19 @@ module.exports = function (grunt) { 'tasks/*.js', 'test/**/*.js' ] + }, + release: { + options: { + commitMessage: 'v<%= version %>', + tagName: 'v<%= version %>', + npm: false, + push: false + } } }); grunt.loadNpmTasks('grunt-contrib-jshint'); + grunt.loadNpmTasks('grunt-release'); grunt.loadTasks('tasks'); diff --git a/package.json b/package.json index deb39df..515efe3 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { - "name": "grunt-changelog", - "version": "0.0.0", + "name": "grunt-conventional-changelog", + "version": "0.0.10", "description": "Generate a markdown changelog from git commit data", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "repository": "", + "repository": { + "type": "git", + "url": "https://github.com/btford/grunt-conventional-changelog.git" + }, "keywords": [ "grunt", "changelog" @@ -16,6 +19,7 @@ "dependencies": {}, "devDependencies": { "grunt": "~0.4.1", - "grunt-contrib-jshint": "~0.4.0" + "grunt-contrib-jshint": "~0.4.0", + "grunt-release": "https://github.com/btford/grunt-release/archive/feat-tag-name.tar.gz" } }