{"size": 573, "ext": "js", "max_stars_repo_path": "gulp/tasks/jsLib.js", "max_stars_repo_name": "IIPEKOLICT/iipekolict.github.io", "max_stars_repo_stars_event_min_datetime": "2020-05-15T12:09:19.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-27T07:15:27.000Z", "max_issues_repo_path": "gulp/tasks/jsLib.js", "max_issues_repo_name": "IIPEKOLICT/iipekolict.github.io", "max_issues_repo_issues_event_min_datetime": "2020-05-19T05:56:48.000Z", "max_issues_repo_issues_event_max_datetime": "2020-05-19T06:00:52.000Z", "max_forks_repo_path": "gulp/tasks/jsLib.js", "max_forks_repo_name": "IIPEKOLICT/iipekolict.github.io", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 28.65, "max_line_length": 56, "alphanum_fraction": 0.4694589878}
const   {src, dest} = require('gulp'),
        uglify      = require('gulp-uglify-es').default,
        babel       = require('gulp-babel'),
        concat      = require('gulp-concat'),
        patchs      = require('../paths');

module.exports = function jsLib() {
    return src([
            patchs.src.jsLib, 
            '!' + patchs.src.modules
        ],{
            allowEmpty: true
        })
        .pipe(babel({
            presets: ['@babel/env']
        }))
        .pipe(uglify())
        .pipe(concat('lib.min.js'))
        .pipe(dest(patchs.build.js));
}