<commit_before>var gulp 		      = require('gulp'),
 	  sass 		        = require('gulp-sass'),
    browserSync     = require('browser-sync').create(),
	  injectPartials  = require('gulp-inject-partials'),
    fs = require('fs'),
    path = require('path'),
    YAML = require('yamljs'),
    imagemin = require('gulp-imagemin'),
    gulpLoadPlugins = require('gulp-load-plugins'),
    fontmin = require('gulp-fontmin');

const $ = gulpLoadPlugins();

// Handles partials injection on index.html
gulp.task('partials', function () {
  return gulp.src('./src/html/index.html')
           .pipe(injectPartials({
             removeTags: true
           }))
    .pipe($.htmlmin({collapseWhitespace: true}))
           .pipe(gulp.dest('./dist'));
});

// Compiles, prefixes and minifies style.scss & fruits.scss
gulp.task('sass', function () {
  return gulp.src('./src/sass/style.scss')
    .pipe(sass().on('error', sass.logError))
    .pipe($.cssmin())
    .pipe(gulp.dest('./dist/css'))
    .pipe(browserSync.stream());
});

// todo: Add js performance when deploying.
gulp.task('js', function() {<commit_msg>The power of the cosmos is my will!<commit_after>var gulp 		      = require('gulp'),
 	  sass 		        = require('gulp-sass'),
    browserSync     = require('browser-sync').create(),
	  injectPartials  = require('gulp-inject-partials'),
    fs = require('fs'),
    path = require('path'),
    YAML = require('yamljs'),
    imagemin = require('gulp-imagemin'),
    gulpLoadPlugins = require('gulp-load-plugins'),
    fontmin = require('gulp-fontmin'),
    ghPages = require('gulp-gh-pages');

const $ = gulpLoadPlugins();

// Handles partials injection on index.html
gulp.task('partials', function () {
  return gulp.src('./src/html/index.html')
           .pipe(injectPartials({
             removeTags: true
           }))
    .pipe($.htmlmin({collapseWhitespace: true}))
           .pipe(gulp.dest('./dist'));
});

// Compiles, prefixes and minifies style.scss & fruits.scss
gulp.task('sass', function () {
  return gulp.src('./src/sass/style.scss')
    .pipe(sass().on('error', sass.logError))
    .pipe($.cssmin())
    .pipe(gulp.dest('./dist/css'))
    .pipe(browserSync.stream());
});

// todo: Add js performance when deploying.
gulp.task('js', function() {
{'fraction_non_alphanumeric': 0.18738977072310406, 'fraction_numerical': 0.0, 'mean_word_length': 3.0882882882882883, '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': '1112261', 'n_tokens_mistral': 765, 'n_tokens_neox': 745, 'n_words': 131}