File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,23 @@ module.exports = function (grunt) {
12
12
13
13
grunt . initConfig ( {
14
14
15
+ // Bump version option
16
+ bump : {
17
+ options : {
18
+ files : [ 'package.json' ] ,
19
+ updateConfigs : [ ] ,
20
+ commit : true ,
21
+ commitMessage : 'Release v%VERSION%' ,
22
+ commitFiles : [ 'package.json' ] ,
23
+ createTag : true ,
24
+ tagName : '%VERSION%' ,
25
+ tagMessage : 'Version %VERSION%' ,
26
+ push : true ,
27
+ pushTo : 'origin' ,
28
+ gitDescribeOptions : '--tags --always --abbrev=1 --dirty=-d'
29
+ }
30
+ } ,
31
+
15
32
mochaTest : {
16
33
all : {
17
34
options : { reporter : 'spec' } ,
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"description" : " Remove the CSS rules that you don't want, with a list of selectors" ,
5
5
"homepage" : " https://github.com/AoDev/css-byebye" ,
6
- "repository" : { "type" : " git" , "url" : " https://github.com/AoDev/css-byebye.git" },
6
+ "repository" : {
7
+ "type" : " git" ,
8
+ "url" : " https://github.com/AoDev/css-byebye.git"
9
+ },
7
10
"main" : " lib/css-byebye.js" ,
8
11
"scripts" : {
9
12
"test" : " grunt test"
17
20
"postcss" : " ^2.2.4"
18
21
},
19
22
"devDependencies" : {
20
- "grunt" : " ^0.4.5" ,
21
23
"chai" : " ^1.9.1" ,
24
+ "grunt" : " ^0.4.5" ,
25
+ "grunt-bump" : " 0.0.16" ,
22
26
"grunt-mocha-test" : " ^0.12.0" ,
23
27
"load-grunt-tasks" : " ^0.6.0" ,
24
28
"mocha" : " ^1.21.4"
You can’t perform that action at this time.
0 commit comments