File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ module.exports = function(grunt) {
55
55
unminified : 'build/<%= pkg.name %>.zip' ,
56
56
minified : 'build/<%= pkg.name %>.min.zip'
57
57
} ,
58
+ tgz : {
59
+ npm : 'build/<%= pkg.name %>.tgz'
60
+ } ,
58
61
spec : {
59
62
src : 'test/*.spec.js'
60
63
}
Original file line number Diff line number Diff line change @@ -33,5 +33,28 @@ module.exports = {
33
33
flatten : true
34
34
}
35
35
]
36
+ } ,
37
+ npm : {
38
+ options : {
39
+ archive : '<%= files.tgz.npm %>' ,
40
+ mode : 'tgz'
41
+ } ,
42
+ files : [
43
+ {
44
+ expand : true ,
45
+ src : [
46
+ '<%= files.js.out %>' ,
47
+ '<%= files.css.main.out %>' ,
48
+ '<%= files.css.bootstrap.out %>' ,
49
+ '<%= files.js.outMin %>' ,
50
+ '<%= files.css.main.outMin %>' ,
51
+ '<%= files.css.bootstrap.outMin %>' ,
52
+ 'README.md' ,
53
+ 'package.json'
54
+ ] ,
55
+ dest : 'package/' ,
56
+ flatten : true
57
+ }
58
+ ]
36
59
}
37
60
} ;
You can’t perform that action at this time.
0 commit comments