//
// https://github.com/kogakure/gulp-tutorial/blob/master/gulp/config.js
//
var banner = [
    '/**',
    ' * <%= pkg.name %> - <%= pkg.description %>',
    ' * <%= pkg.author %>',
    ' * Version <%= pkg.version %>',
    ' * <%= pkg.license %> Licensed',
    ' */',
    ''].join('\n');

module.exports = {
    banner: banner,
    clean: {
        files: [
            'dist'
        ]
    },
    jshint: {
        src: [
            'index.js',
            'gulpfile.js',
            'src/**/*.js'
        ],
        options: require('../config/jshint')
    },
    uglify: {
        debug: {
            output: {
                beautify: true,
                comments: true
            },
            compress: false,
            mangle: false
        },
        dist: {
            compress: true,
            mangle: true
        }
    }
};

//
// https://github.com/kogakure/gulp-tutorial/blob/master/gulp/config.js
//
var banner = [
    '/**',
    ' * <%= pkg.name %> - <%= pkg.description %>',
    ' * <%= pkg.author %>',
    ' * Version <%= pkg.version %>',
    ' * <%= pkg.license %> Licensed',
    ' */',
    ''].join('\n');

module.exports = {
    banner: banner,
    clean: {
        files: [
            'dist'
        ]
    },
    jshint: {
        src: [
            'index.js',
            'gulpfile.js',
            'src/**/*.js',
            'lib/**/*.js'
        ],
        options: require('../config/jshint')
    },
    uglify: {
        debug: {
            output: {
                beautify: true,
                comments: true
            },
            compress: false,
            mangle: false
        },
        dist: {
            compress: true,
            mangle: true
        }
    }
};

Validate files under lib with jshint
Validate files under lib with jshint
