File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ grunt.loadNpmTasks( "grunt-jscs-checker" );
110
110
grunt . loadNpmTasks ( "grunt-html" ) ;
111
111
grunt . loadNpmTasks ( "grunt-compare-size" ) ;
112
112
grunt . loadNpmTasks ( "grunt-git-authors" ) ;
113
+ grunt . loadNpmTasks ( "grunt-esformatter" ) ;
113
114
// local testswarm and build tasks
114
115
grunt . loadTasks ( "build/tasks" ) ;
115
116
@@ -202,6 +203,21 @@ grunt.initConfig({
202
203
csslintrc : ".csslintrc"
203
204
}
204
205
}
206
+ } ,
207
+
208
+ esformatter : {
209
+ options : {
210
+ preset : "jquery"
211
+ } ,
212
+ ui : "ui/*.js" ,
213
+ tests : "tests/unit/**/*.js" ,
214
+ build : {
215
+ options : {
216
+ skipHashbang : true
217
+ } ,
218
+ src : "build/**/*.js"
219
+ } ,
220
+ grunt : "Gruntfile.js"
205
221
}
206
222
} ) ;
207
223
Original file line number Diff line number Diff line change 66
66
"grunt-jscs-checker" : " 0.2.0" ,
67
67
"grunt-html" : " 0.3.3" ,
68
68
"grunt-git-authors" : " 1.2.0" ,
69
+ "grunt-esformatter" : " 0.2.0" ,
69
70
"rimraf" : " 2.1.4" ,
70
71
"testswarm" : " 1.1.0"
71
72
},
You can’t perform that action at this time.
0 commit comments