Skip to content

Commit

Permalink
add version bumper
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Dec 19, 2015
1 parent fcef020 commit 1d15b2e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
11 changes: 9 additions & 2 deletions Gruntfile.js
Expand Up @@ -94,22 +94,29 @@ module.exports = function (grunt) {
}
},

bumpup: {
file: 'package.json',
options: {
dateformat: 'ddd YYYY-MM-DD HH:mm z'
}
}

});

grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-babel');
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-run');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-filesize');
grunt.loadNpmTasks('grunt-mocha-istanbul');
grunt.loadNpmTasks('grunt-bumpup');

grunt.registerTask('default', ['watch']);
grunt.registerTask('demo', ['run:demo']);
grunt.registerTask('test', ['mochaTest']);
grunt.registerTask('coverage', ['mocha_istanbul']);
grunt.registerTask('lint', ['eslint']);
grunt.registerTask('bump', ['bumpup']);
grunt.registerTask('build', ['mocha_istanbul', 'browserify', 'babel', 'uglify', 'filesize']);
};
7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"name": "nlp_compromise",
"description": "natural language processing in the browser",
"version": "2.0.0",
"date": "",
"repository": {
"type": "git",
"url": "git://github.com/spencermountain/nlp_compromise.git"
Expand All @@ -25,13 +26,13 @@
"grunt-contrib-watch": "0.6.x",
"grunt-eslint": "17.1.x",
"grunt-filesize": "0.0.x",
"grunt-mocha-istanbul": "^3.0.1",
"grunt-mocha-istanbul": "3.*.*",
"grunt-mocha-test": "0.12.x",
"grunt-run": "0.4.x",
"istanbul": "^0.4.1",
"mocha": "2.2.x",
"should": "7.0.x",
"grunt-mocha-istanbul":"3.*.*"
"grunt-bumpup": "0.*.*"
},
"license": "MIT",
"dependencies": {
Expand Down Expand Up @@ -109,4 +110,4 @@
}
}
}
}
}

0 comments on commit 1d15b2e

Please sign in to comment.