File tree 3 files changed +2473
-2
lines changed
3 files changed +2473
-2
lines changed Original file line number Diff line number Diff line change @@ -375,6 +375,19 @@ module.exports = function (grunt) {
375
375
}
376
376
} ,
377
377
378
+ ngtemplates : {
379
+ dist : {
380
+ cwd : '<%= yeoman.app %>' ,
381
+ src : 'views/**/*.html' ,
382
+ dest : '<%= yeoman.dist %>/scripts/templates.js' ,
383
+ options : {
384
+ module : 'openshiftConsole' ,
385
+ htmlmin : '<%= htmlmin.dist %>' ,
386
+ usemin : 'scripts/scripts.js'
387
+ }
388
+ }
389
+ } ,
390
+
378
391
// Copies remaining files to places other tasks can use
379
392
copy : {
380
393
dist : {
@@ -530,6 +543,8 @@ module.exports = function (grunt) {
530
543
531
544
grunt . loadNpmTasks ( 'grunt-htmlhint' ) ;
532
545
546
+ grunt . loadNpmTasks ( 'grunt-angular-templates' ) ;
547
+
533
548
// karma must run prior to coverage since karma will generate the coverage results
534
549
grunt . registerTask ( 'test' , [
535
550
'clean:server' ,
@@ -555,6 +570,7 @@ module.exports = function (grunt) {
555
570
'htmlhint' ,
556
571
'wiredep' ,
557
572
'useminPrepare' ,
573
+ 'ngtemplates' ,
558
574
'concurrent:dist' ,
559
575
'autoprefixer' ,
560
576
'concat' ,
Original file line number Diff line number Diff line change 10
10
"clean-css" : " 2.1.8" ,
11
11
"connect-modrewrite" : " 0.7.9" ,
12
12
"grunt" : " 0.4.5" ,
13
+ "grunt-angular-templates" : " 0.5.7" ,
13
14
"grunt-autoprefixer" : " 0.7.6" ,
14
15
"grunt-concurrent" : " 0.5.0" ,
15
16
"grunt-contrib-clean" : " 0.5.0" ,
34
35
"grunt-svgmin" : " 0.4.0" ,
35
36
"grunt-usemin" : " 2.4.0" ,
36
37
"grunt-wiredep" : " 1.9.0" ,
37
- "html-minifier" : " 0.7.0 " ,
38
+ "html-minifier" : " 0.7.2 " ,
38
39
"imagemin" : " 1.0.5" ,
39
40
"jasmine-beforeall" : " 0.1.1" ,
40
41
"jasmine-spec-reporter" : " 1.1.2" ,
You can’t perform that action at this time.
0 commit comments