File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,13 @@ gulp.task('clean:dist', function () {
97
97
} ) ;
98
98
99
99
gulp . task ( 'ngmin' , function ( ) {
100
+ var options = {
101
+ remove : true ,
102
+ add : true ,
103
+ single_quotes : true
104
+ } ;
100
105
return gulp . src ( '*.js' , { cwd : './src' } )
101
- . pipe ( $ . ngmin ( ) )
106
+ . pipe ( $ . ngAnnotate ( options ) )
102
107
. pipe ( gulp . dest ( './dist' ) ) ;
103
108
} ) ;
104
109
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.2" ,
4
4
"description" : " This directive allows you to split !" ,
5
5
"devDependencies" : {
6
+ "angular-ui-publisher" : " ~1.2" ,
6
7
"gulp" : " ^3" ,
7
- "gulp-util " : " ^2 " ,
8
+ "gulp-jshint " : " ^1 " ,
8
9
"gulp-load-plugins" : " ^0" ,
10
+ "gulp-ng-annotate" : " ^0.4.0" ,
11
+ "gulp-plumber" : " ^0" ,
9
12
"gulp-rename" : " ^0" ,
10
13
"gulp-rimraf" : " ^0" ,
11
-
12
14
"gulp-ruby-sass" : " ^0" ,
13
- "gulp-plumber" : " ^0" ,
14
-
15
- "gulp-jshint" : " ^1" ,
16
- "jshint-stylish" : " ^0" ,
17
-
18
15
"gulp-uglify" : " ^0" ,
19
- "gulp-ngmin " : " ^0 " ,
20
-
16
+ "gulp-util " : " ^2 " ,
17
+ "jshint-stylish" : " ^0 " ,
21
18
"karma" : " ^0" ,
22
- "karma-jasmine " : " ^0.2 " ,
19
+ "karma-chrome-launcher " : " ^0" ,
23
20
"karma-coverage" : " ^0" ,
24
21
"karma-firefox-launcher" : " ^0" ,
25
- "karma-chrome-launcher " : " ^0" ,
22
+ "karma-jasmine " : " ^0.2 " ,
26
23
"karma-phantomjs-launcher" : " ^0" ,
27
-
28
- "node-karma-wrapper" : " ^0" ,
29
- "lodash.assign" : " ^2" ,
30
24
"lodash.after" : " ^2" ,
31
- "angular-ui-publisher" : " ~1.2"
25
+ "lodash.assign" : " ^2" ,
26
+ "node-karma-wrapper" : " ^0"
32
27
},
33
28
"main" : " ui-layout.js" ,
34
29
"repository" : {
You can’t perform that action at this time.
0 commit comments