Gruntfile for bumping versions or anything else in the future

This commit is contained in:
Vadim Makeev 2014-03-21 12:49:07 +04:00
parent 345f08ae9d
commit 449ccfe1fc
4 changed files with 22 additions and 2 deletions

View File

@ -2,3 +2,4 @@
.gitignore .gitignore
Contributing.md Contributing.md
bower.json bower.json
Gruntfile.js

17
Gruntfile.js Normal file
View File

@ -0,0 +1,17 @@
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
bump: {
options: {
files: ['package.json', 'bower.json'],
commitFiles: ['package.json', 'bower.json'],
pushTo: 'origin'
}
}
});
grunt.registerTask('default', ['bump']);
};

View File

@ -8,6 +8,7 @@
".gitignore", ".gitignore",
".npmignore", ".npmignore",
"Contributing.md", "Contributing.md",
"Gruntfile.js",
"node_modules", "node_modules",
"package.json" "package.json"
], ],

View File

@ -32,6 +32,7 @@
}, },
"devDependencies": { "devDependencies": {
"grunt": "^0.4.4", "grunt": "^0.4.4",
"grunt-bump": "0.0.13" "grunt-bump": "0.0.13",
"load-grunt-tasks": "^0.4.0"
} }
} }