Skip to content

Commit bde3ce6

Browse files
committed
Added grunt-bump.
1 parent 3f501b7 commit bde3ce6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Gruntfile.js

+6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,18 @@ module.exports = function(grunt) {
2626
watch: {
2727
files: ['<%= jshint.files %>'],
2828
tasks: ['jshint', 'mochaTest:watch']
29+
},
30+
bump: {
31+
options: {
32+
pushTo: 'origin'
33+
}
2934
}
3035
});
3136

3237
grunt.loadNpmTasks('grunt-contrib-jshint');
3338
grunt.loadNpmTasks('grunt-contrib-watch');
3439
grunt.loadNpmTasks('grunt-mocha-test');
40+
grunt.loadNpmTasks('grunt-bump');
3541

3642
grunt.registerTask('ci', ['jshint', 'mochaTest:test' ]);
3743
grunt.registerTask('default', ['ci']);

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@
2424
"socket.io": "1.7.3"
2525
},
2626
"devDependencies": {
27+
"chai": "3.5.0",
2728
"grunt": "1.0.1",
29+
"grunt-bump": "^0.8.0",
2830
"grunt-contrib-jshint": "1.1.0",
2931
"grunt-contrib-watch": "1.0.0",
3032
"grunt-mocha-test": "0.13.2",
3133
"mocha": "3.2.0",
3234
"nock": "9.0.9",
3335
"rewire": "2.5.2",
3436
"should": "11.2.1",
35-
"chai": "3.5.0",
3637
"sinon": "1.17.7",
3738
"sinon-chai": "2.8.0"
3839
},

0 commit comments

Comments
 (0)