<commit_before>'use strict';

// TODO: Add cache buster like gulp-rev
// TODO: Take gulp serve or gulp browsersync into use with two tasks: dist and dev
// TODO: Use gulp browsersync live reload capabilities
var gulp = require('gulp'),
    gulpif = require('gulp-if'),
    autoprefixer = require('gulp-autoprefixer'),
    minifycss = require('gulp-minify-css'),
    jshint = require('gulp-jshint'),
    uglify = require('gulp-uglify'),
    rename = require('gulp-rename'),
    concat = require('gulp-concat'),
    htmlreplace = require('gulp-html-replace'),
    del = require('del');

var paths = {
    scripts: {
        dest: 'dist/scripts',
        src: [
            'app/scripts/*.js'
        ]
    },
    libs: {
        dest: 'dist/lib',
        src: [
            'app/lib/leaflet/dist/leaflet.js'
        ]
    },
    styles: {
        dest: 'dist/styles',
        src: [
            'app/styles/main.css',
            'app/lib/leaflet/dist/leaflet.css'
        ]
    },
    images: {
        dest: 'dist/images',
        src:
        [
            'app/images/*',
            'app/lib/leaflet/dist/images/*'
        ]
    },
    html: {
        dest: 'dist',
        src: [
            'app/*.html',
            'app/robots.txt',
            'app/CNAME'
        ]
    },
    data: {
        dest: 'dist/data',
        src: [
            'app/data/*.js'
        ]
    }
};

// Task functions
function styles() {
    return gulp.src(paths.styles.src)<commit_msg>Update todo comments<commit_after>'use strict';

// TODO: Add cache buster like gulp-rev
// TODO: Take gulp-webserver into use with two tasks: dist and dev. Remove corresponding npm run tasks.
var gulp = require('gulp'),
    gulpif = require('gulp-if'),
    autoprefixer = require('gulp-autoprefixer'),
    minifycss = require('gulp-minify-css'),
    jshint = require('gulp-jshint'),
    uglify = require('gulp-uglify'),
    rename = require('gulp-rename'),
    concat = require('gulp-concat'),
    htmlreplace = require('gulp-html-replace'),
    del = require('del');

var paths = {
    scripts: {
        dest: 'dist/scripts',
        src: [
            'app/scripts/*.js'
        ]
    },
    libs: {
        dest: 'dist/lib',
        src: [
            'app/lib/leaflet/dist/leaflet.js'
        ]
    },
    styles: {
        dest: 'dist/styles',
        src: [
            'app/styles/main.css',
            'app/lib/leaflet/dist/leaflet.css'
        ]
    },
    images: {
        dest: 'dist/images',
        src:
        [
            'app/images/*',
            'app/lib/leaflet/dist/images/*'
        ]
    },
    html: {
        dest: 'dist',
        src: [
            'app/*.html',
            'app/robots.txt',
            'app/CNAME'
        ]
    },
    data: {
        dest: 'dist/data',
        src: [
            'app/data/*.js'
        ]
    }
};

// Task functions
function styles() {
    // TODO: Using gulp-merge might be more appropriate than gulp-if
    return gulp.src(paths.styles.src)
{'fraction_non_alphanumeric': 0.15660630449362845, 'fraction_numerical': 0.0, 'mean_word_length': 1.6515555555555557, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2296935', 'n_tokens_mistral': 994, 'n_tokens_neox': 990, 'n_words': 190}