Add grunt-bump.
This commit is contained in:
parent
4d256d37c3
commit
51aeb26844
@ -1,5 +1,6 @@
|
|||||||
module.exports = (grunt) ->
|
module.exports = (grunt) ->
|
||||||
@loadNpmTasks('grunt-browserify')
|
@loadNpmTasks('grunt-browserify')
|
||||||
|
@loadNpmTasks('grunt-bump')
|
||||||
@loadNpmTasks('grunt-contrib-clean')
|
@loadNpmTasks('grunt-contrib-clean')
|
||||||
@loadNpmTasks('grunt-contrib-jshint')
|
@loadNpmTasks('grunt-contrib-jshint')
|
||||||
@loadNpmTasks('grunt-contrib-uglify')
|
@loadNpmTasks('grunt-contrib-uglify')
|
||||||
@ -41,6 +42,12 @@ module.exports = (grunt) ->
|
|||||||
files:
|
files:
|
||||||
'dist/pofile.min.js': 'dist/pofile.js'
|
'dist/pofile.min.js': 'dist/pofile.js'
|
||||||
|
|
||||||
|
bump:
|
||||||
|
options:
|
||||||
|
files: ['package.json', 'bower.json']
|
||||||
|
commitFiles: ['-a']
|
||||||
|
pushTo: 'origin'
|
||||||
|
|
||||||
@registerTask 'default', ['test']
|
@registerTask 'default', ['test']
|
||||||
@registerTask 'build', ['clean', 'jshint', 'browserify', 'uglify']
|
@registerTask 'build', ['clean', 'jshint', 'browserify', 'uglify']
|
||||||
@registerTask 'test', ['build', 'mochacli']
|
@registerTask 'test', ['build', 'mochacli']
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"url": "http://savanne.be/"
|
"url": "http://savanne.be/"
|
||||||
},
|
},
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"Mike Holly"
|
"Mike Holly"
|
||||||
],
|
],
|
||||||
"homepage": "http://github.com/rubenv/pofile",
|
"homepage": "http://github.com/rubenv/pofile",
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -37,7 +37,8 @@
|
|||||||
"grunt-contrib-uglify": "~0.2.7",
|
"grunt-contrib-uglify": "~0.2.7",
|
||||||
"browserify": "~3.11.1",
|
"browserify": "~3.11.1",
|
||||||
"grunt-browserify": "~1.3.0",
|
"grunt-browserify": "~1.3.0",
|
||||||
"grunt-contrib-clean": "~0.5.0"
|
"grunt-contrib-clean": "~0.5.0",
|
||||||
|
"grunt-bump": "0.0.13"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash.isarray": "~2.4.1"
|
"lodash.isarray": "~2.4.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user