@@ -26,7 +26,7 @@ module.exports = function(grunt) {
2626 stripBanners : true
2727 } ,
2828 dist : {
29- src : [ 'dist /jquery.<%= pkg.name %>.js' ] ,
29+ src : [ 'tmp /jquery.<%= pkg.name %>.js' ] ,
3030 dest : 'dist/jquery.<%= pkg.name %>.js'
3131 } ,
3232 } ,
@@ -55,16 +55,16 @@ module.exports = function(grunt) {
5555 } ,
5656 watch : {
5757 gruntfile : {
58- files : '<%= jshint.gruntfile.src %> ' ,
59- tasks : [ 'jshint:gruntfile ' ]
58+ files : 'Gruntfile.js ' ,
59+ tasks : [ 'eslint ' ]
6060 } ,
6161 src : {
62- files : '<%= jshint. src.src %> ' ,
63- tasks : [ 'jshint:src ' , 'qunit' ]
62+ files : 'src/**/*.js ' ,
63+ tasks : [ 'eslint' , 'babel' , 'concat ', 'qunit' ]
6464 } ,
6565 test : {
66- files : '<%= jshint. test.src %> ' ,
67- tasks : [ 'jshint:test ' , 'qunit' ]
66+ files : 'test/**/*.js ' ,
67+ tasks : [ 'eslint ' , 'qunit' ]
6868 } ,
6969 } ,
7070 babel : {
@@ -75,7 +75,7 @@ module.exports = function(grunt) {
7575 } ,
7676 dist : {
7777 files : {
78- 'dist /jquery.<%= pkg.name %>.js' : 'src/jquery.<%= pkg.name %>.js'
78+ 'tmp /jquery.<%= pkg.name %>.js' : 'src/jquery.<%= pkg.name %>.js'
7979 }
8080 }
8181 }
@@ -91,9 +91,9 @@ module.exports = function(grunt) {
9191 grunt . loadNpmTasks ( 'grunt-babel' ) ;
9292
9393 // Default task.
94- grunt . registerTask ( 'default' , [ 'eslint' , 'clean:dist ' , 'babel' , 'concat' , 'qunit' , 'uglify' ] ) ;
94+ grunt . registerTask ( 'default' , [ 'eslint' , 'clean' , 'babel' , 'concat' , 'qunit' , 'uglify' ] ) ;
9595
9696 // Travis CI task.
97- grunt . registerTask ( 'travis' , [ 'eslint' , 'clean:dist ' , 'babel' , 'concat' , 'qunit' , 'uglify' ] ) ;
97+ grunt . registerTask ( 'travis' , [ 'eslint' , 'clean' , 'babel' , 'concat' , 'qunit' , 'uglify' ] ) ;
9898
9999} ;
0 commit comments