Add grunt-bump.

This commit is contained in:
Ruben Vermeersch 2013-12-20 09:41:38 +01:00
parent 4d256d37c3
commit 51aeb26844
2 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,6 @@
module.exports = (grunt) ->
@loadNpmTasks('grunt-browserify')
@loadNpmTasks('grunt-bump')
@loadNpmTasks('grunt-contrib-clean')
@loadNpmTasks('grunt-contrib-jshint')
@loadNpmTasks('grunt-contrib-uglify')
@ -41,6 +42,12 @@ module.exports = (grunt) ->
files:
'dist/pofile.min.js': 'dist/pofile.js'
bump:
options:
files: ['package.json', 'bower.json']
commitFiles: ['-a']
pushTo: 'origin'
@registerTask 'default', ['test']
@registerTask 'build', ['clean', 'jshint', 'browserify', 'uglify']
@registerTask 'test', ['build', 'mochacli']

View File

@ -8,7 +8,7 @@
"url": "http://savanne.be/"
},
"contributors": [
"Mike Holly"
"Mike Holly"
],
"homepage": "http://github.com/rubenv/pofile",
"repository": {
@ -37,7 +37,8 @@
"grunt-contrib-uglify": "~0.2.7",
"browserify": "~3.11.1",
"grunt-browserify": "~1.3.0",
"grunt-contrib-clean": "~0.5.0"
"grunt-contrib-clean": "~0.5.0",
"grunt-bump": "0.0.13"
},
"dependencies": {
"lodash.isarray": "~2.4.1"