<commit_before>'use strict';


// Requires
// ========

// General
// -------
const gulp = require('gulp');
const gutil = require('gulp-util');
const plumber = require('gulp-plumber');
const notify = require('gulp-notify');

// JSX/ES6 -> ES5
// --------------
const browserify = require('browserify');
const babelify = require('babelify');
const envify = require('envify');
const uglifyify = require('uglifyify');
const collapse = require('bundle-collapser/plugin');
const source = require('vinyl-source-stream');
const buffer = require('vinyl-buffer');
const uglify = require('gulp-uglify');
const rename = require('gulp-rename');
const es = require('event-stream');

// SCSS -> CSS
// -----------
const sass = require('gulp-sass');
const autoprefixer = require('gulp-autoprefixer');
const cssmin = require('gulp-cssmin');

// Image processing
// ----------------
const imagemin = require('gulp-imagemin'); // supports png, jpg, gif, and svg only
const cache = require('gulp-cache');


// Configuration Objects
// =====================

// Entry points and sources
// ------------------------
const paths = {
  fonts: ['client/fonts/**/*'], // font sources
  images: ['client/images/**/*'], // image sources
  json: ['client/json/**/*'], // temporary storage for challenges
  scripts: ['client/scripts/arcademode/main.jsx', 'client/scripts/public/head.js'], // entry point scripts
  stylesheets: ['client/stylesheets/style.scss'], // entry point stylesheets
  watchScripts: ['client/scripts/**/*.js*'],
  watchStylesheets: ['client/stylesheets/**/*.scss']
};


// Gulp Tasks
// ==========

gulp.task('build-font', () =>
  gulp.src(paths.fonts)
    .pipe(gulp.dest('public/font')) // no processing because fonts are already optimized
);

gulp.task('build-img', () => {
  gulp.src('client/images/favicon.ico')
    .pipe(gulp.dest('public/img'));<commit_msg>add worker.js and challenges.json for processing<commit_after>'use strict';


// Requires
// ========

// General
// -------
const gulp = require('gulp');
const gutil = require('gulp-util');
const plumber = require('gulp-plumber');
const notify = require('gulp-notify');

// JSX/ES6 -> ES5
// --------------
const browserify = require('browserify');
const babelify = require('babelify');
const envify = require('envify');
const uglifyify = require('uglifyify');
const collapse = require('bundle-collapser/plugin');
const source = require('vinyl-source-stream');
const buffer = require('vinyl-buffer');
const uglify = require('gulp-uglify');
const rename = require('gulp-rename');
const es = require('event-stream');

// SCSS -> CSS
// -----------
const sass = require('gulp-sass');
const autoprefixer = require('gulp-autoprefixer');
const cssmin = require('gulp-cssmin');

// Image processing
// ----------------
const imagemin = require('gulp-imagemin'); // supports png, jpg, gif, and svg only
const cache = require('gulp-cache');


// Configuration Objects
// =====================

// Entry points and sources
// ------------------------
const paths = {
  fonts: ['client/fonts/**/*'], // font sources
  images: ['client/images/**/*'], // image sources
  json: ['client/json/**/*'], // temporary storage for challenges
  scripts: ['client/scripts/arcademode/main.jsx', 'client/scripts/public/head.js', 'client/scripts/public/worker.js'], // entry point scripts
  stylesheets: ['client/stylesheets/style.scss'], // entry point stylesheets
  watchScripts: ['client/scripts/**/*.js*'],
  watchStylesheets: ['client/stylesheets/**/*.scss']
};


// Gulp Tasks
// ==========

gulp.task('build-font', () =>
  gulp.src(paths.fonts)
    .pipe(gulp.dest('public/font')) // no processing because fonts are already optimized
);

gulp.task('build-img', () => {
  gulp.src('client/images/favicon.ico')
    .pipe(gulp.dest('public/img'));
{'fraction_non_alphanumeric': 0.23863636363636365, 'fraction_numerical': 0.0010570824524312897, 'mean_word_length': 3.587878787878788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '7336249', 'n_tokens_mistral': 1199, 'n_tokens_neox': 1154, 'n_words': 257}