<commit_before>var fs     = require('fs'),
    gulp   = require('gulp'),
    uglify = require('gulp-uglify')
    gutil  = require('gulp-util'),
    time   = require('pretty-hrtime');

gulp.Gulp.prototype.__runTask = gulp.Gulp.prototype._runTask;
gulp.Gulp.prototype._runTask = function(task) {
    this.currentTask = task;
    this.__runTask(task);
}

module.exports = {

    /* STRUCTURE */

    paths: {
        src: {
            modules: './src/dollar',
            wrap: './src/wrap'
        },
        pub: './pub',
        docs: './docs'
    },

    include: [
        // 'dom',
        // 'filters',
        'base'
    ],

    /* PLUGIN SETTINGS */

    uglify: {},

    /* HELPERS */

    isDev: function () {
        return !gutil.env.prod;
    },

    isProd: function () {
        return !!gutil.env.prod;
    },

    getVersion: function (fullpath) {
        var path = fullpath.split('/');
        var name = path.pop();
        path = path.join('/');
        name = name.split('.');
        name.pop();
        name = name.join('.');

        try {
            var v = fs.readFileSync(path + '/' + name + '.version', 'utf8');
            return v ? '/'+v : '';
        } catch (err) {<commit_msg>fix merge<commit_after>var fs     = require('fs'),
    gulp   = require('gulp'),
    uglify = require('gulp-uglify')
    gutil  = require('gulp-util'),
    time   = require('pretty-hrtime');

gulp.Gulp.prototype.__runTask = gulp.Gulp.prototype._runTask;
gulp.Gulp.prototype._runTask = function(task) {
    this.currentTask = task;
    this.__runTask(task);
}

module.exports = {

    /* STRUCTURE */

    paths: {
        src: {
            modules: './src/dollar',
            wrap: './src/wrap'
        },
        pub: './pub',
        docs: './docs'
    },

    include: [
        'base'
    ],

    /* PLUGIN SETTINGS */

    uglify: {},

    /* HELPERS */

    isDev: function () {
        return !gutil.env.prod;
    },

    isProd: function () {
        return !!gutil.env.prod;
    },

    getVersion: function (fullpath) {
        var path = fullpath.split('/');
        var name = path.pop();
        path = path.join('/');
        name = name.split('.');
        name.pop();
        name = name.join('.');

        try {
            var v = fs.readFileSync(path + '/' + name + '.version', 'utf8');
            return v ? '/'+v : '';
        } catch (err) {
{'fraction_non_alphanumeric': 0.1825063078216989, 'fraction_numerical': 0.0008410428931875525, 'mean_word_length': 1.6670403587443947, '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': '2044339', 'n_tokens_mistral': 810, 'n_tokens_neox': 787, 'n_words': 147}