Вход Регистрация
Файл: Main Website Files/assets/js/jscroll-master/Gruntfile.js
Строк: 39
<?php
module
.exports = function(grunt) {

    
'use strict';

    
grunt.initConfig({

        
pkggrunt.file.readJSON('package.json'),

        
/**
         * https://github.com/gruntjs/grunt-contrib-jshint
         */
        
jshint: {
            
options: {
                
curlytrue,
                
eqeqeqtrue,
                
eqnulltrue,
                
browsertrue,
                
newcapfalse,
                
es3true,
                
forintrue,
                
indent4,
                
unused'vars',
                
stricttrue,
                
trailingtrue,
                
quotmark'single',
                
latedeftrue,
                
globals: {
                    
jQuerytrue
                
}
            },
            
files: {
                
src: ['Grunfile.js''jquery.jscroll.js']
            }
        },

        
/**
         * https://github.com/gruntjs/grunt-contrib-uglify
         */
        
uglify: {
            
options: {
                
preserveComments'some'
            
},
            
jscroll: {
                
files: {
                    
'jquery.jscroll.min.js': [
                        
'jquery.jscroll.js'
                    
]
                }
            }
        }

    });

    
grunt.loadNpmTasks('grunt-contrib-jshint');
    
grunt.loadNpmTasks('grunt-contrib-uglify');

    
grunt.registerTask('default', ['jshint''uglify']);
};
?>
Онлайн: 1
Реклама