Skip to content

Commit

Permalink
Add Gruntfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Sep 21, 2015
1 parent 7417042 commit 27f10ba
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = function (grunt) {
grunt.initConfig({
bump: {
options: {
files: ['bower.json', 'src/juicy-color-picker.html'],
commit: true,
commitMessage: '%VERSION%',
commitFiles: ['bower.json', 'src/juicy-color-picker.html'],
createTag: true,
tagName: '%VERSION%',
tagMessage: 'Version %VERSION%',
push: false,
globalReplace: false,
prereleaseName: false,
regExp: false
}
}
});
grunt.loadNpmTasks('grunt-bump');
};
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "src/juicy-color-picker.html",
"directories": {},
"dependencies": {},
"devDependencies": {},
"devDependencies": {
"grunt-bump": "^0.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Juicy/juicy-color-picker"
Expand Down

0 comments on commit 27f10ba

Please sign in to comment.