<commit_before>var gulp = require('gulp');
var del = require('del');
var uglify = require('gulp-uglify');
var pump = require('pump');
var cleanCSS = require('gulp-clean-css');
const zip = require('gulp-zip');

var manifest = require('./manifest.json');

const otherDependencies = [
    'node_modules/materialize-css/dist/css/materialize.min.css',
    'node_modules/nouislider/distribute/nouislider.min.css',
    'node_modules/materialize-css/dist/js/materialize.min.js',
    'node_modules/nouislider/distribute/nouislider.min.js',
    'src/popup.js',
    'src/popup.css'
];

var destination;

// it will pick everything from dist/prod and zip
gulp.task('build.zip', function () {
    gulp.src('dist/prod/*')
        .pipe(zip('dist.zip'))
        .pipe(gulp.dest('dist'))
});

gulp.task('build.dev', function () {
    destination = 'dist/dev';
    build(false);
});


gulp.task('watch.build.dev', function () {
    gulp.watch('src/**/*.*', ['build.dev']);
});

gulp.task('clean', function () {
    return del(['dist']);
});

gulp.task('build.prod', function () {
    destination = 'dist/prod';
    build(true);<commit_msg>bug in build.zip<commit_after>var gulp = require('gulp');
var del = require('del');
var uglify = require('gulp-uglify');
var pump = require('pump');
var cleanCSS = require('gulp-clean-css');
const zip = require('gulp-zip');

var manifest = require('./manifest.json');

const otherDependencies = [
    'node_modules/materialize-css/dist/css/materialize.min.css',
    'node_modules/nouislider/distribute/nouislider.min.css',
    'node_modules/materialize-css/dist/js/materialize.min.js',
    'node_modules/nouislider/distribute/nouislider.min.js',
    'src/popup.js',
    'src/popup.css'
];

var destination;

// it will pick everything from dist/prod and zip
gulp.task('build.zip', function () {
    gulp.src('dist/prod/**/*.*')
        .pipe(zip('dist.zip'))
        .pipe(gulp.dest('dist'))
});

gulp.task('build.dev', function () {
    destination = 'dist/dev';
    build(false);
});


gulp.task('watch.build.dev', function () {
    gulp.watch('src/**/*.*', ['build.dev']);
});

gulp.task('clean', function () {
    return del(['dist']);
});

gulp.task('build.prod', function () {
    destination = 'dist/prod';
    build(true);
{'fraction_non_alphanumeric': 0.20515097690941386, 'fraction_numerical': 0.0, 'mean_word_length': 3.8978260869565218, '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': '5231668', 'n_tokens_mistral': 793, 'n_tokens_neox': 786, 'n_words': 125}