File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ grunt.loadNpmTasks( "grunt-jscs-checker" );
110110grunt . loadNpmTasks ( "grunt-html" ) ;
111111grunt . loadNpmTasks ( "grunt-compare-size" ) ;
112112grunt . loadNpmTasks ( "grunt-git-authors" ) ;
113+ grunt . loadNpmTasks ( "grunt-esformatter" ) ;
113114// local testswarm and build tasks
114115grunt . loadTasks ( "build/tasks" ) ;
115116
@@ -202,6 +203,21 @@ grunt.initConfig({
202203 csslintrc : ".csslintrc"
203204 }
204205 }
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"
205221 }
206222} ) ;
207223
Original file line number Diff line number Diff line change 6666 "grunt-jscs-checker" : " 0.2.0" ,
6767 "grunt-html" : " 0.3.3" ,
6868 "grunt-git-authors" : " 1.2.0" ,
69+ "grunt-esformatter" : " 0.2.0" ,
6970 "rimraf" : " 2.1.4" ,
7071 "testswarm" : " 1.1.0"
7172 },
You can’t perform that action at this time.
0 commit comments