File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = function ( grunt ) {
2
2
3
- // Project configuration.
4
- grunt . initConfig ( {
5
- pkg : grunt . file . readJSON ( 'package.json' ) ,
6
- uglify : {
7
- options : {
8
- preserveComments : 'some'
9
- } ,
10
- build : {
11
- src : 'jquery.mousewheel.js' ,
12
- dest : 'build/jquery.mousewheel.min.js'
13
- }
14
- } ,
15
- jshint : {
16
- options : {
17
- jshintrc : '.jshintrc'
18
- } ,
19
- all : [ '*.js' ]
20
- }
21
- } ) ;
3
+ // Project configuration.
4
+ grunt . initConfig ( {
5
+ pkg : grunt . file . readJSON ( 'package.json' ) ,
6
+ uglify : {
7
+ options : {
8
+ preserveComments : 'some'
9
+ } ,
10
+ build : {
11
+ src : 'jquery.mousewheel.js' ,
12
+ dest : 'build/jquery.mousewheel.min.js'
13
+ }
14
+ } ,
15
+ jshint : {
16
+ options : {
17
+ jshintrc : '.jshintrc'
18
+ } ,
19
+ all : [ '*.js' ]
20
+ }
21
+ } ) ;
22
22
23
- // Load the plugin that provides the 'uglify' task.
24
- grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
25
- grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
23
+ // Load the plugin that provides the 'uglify' task.
24
+ grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
25
+ grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
26
26
27
- // Default task(s).
28
- grunt . registerTask ( 'default' , [ 'jshint' , 'uglify' ] ) ;
27
+ // Default task(s).
28
+ grunt . registerTask ( 'default' , [ 'jshint' , 'uglify' ] ) ;
29
29
30
30
} ;
You can’t perform that action at this time.
0 commit comments