<commit_before>'use strict';

var gulp = require('gulp');
var crisper = require('gulp-crisper');
var del = require('del');
var polyclean = require('polyclean');
var vulcanize = require('gulp-vulcanize');

// Cleans the dist folder
gulp.task('clean', function () {
	del(['./dist', './.publish']);
});

gulp.task('build', ['clean'], function () {
	return gulp.src('./src/index.html')
		.pipe(vulcanize({
			abspath: '',
			inlineCss: true,
			inlineScripts: true,
			stripComments: true
		}))
		.pipe(polyclean.leftAlignJs())
		.pipe(polyclean.uglifyJs())<commit_msg>no publish folder<commit_after>'use strict';

var gulp = require('gulp');
var crisper = require('gulp-crisper');
var del = require('del');
var polyclean = require('polyclean');
var vulcanize = require('gulp-vulcanize');

// Cleans the dist folder
gulp.task('clean', function () {
	del(['./dist']);
});

gulp.task('build', ['clean'], function () {
	return gulp.src('./src/index.html')
		.pipe(vulcanize({
			abspath: '',
			inlineCss: true,
			inlineScripts: true,
			stripComments: true
		}))
		.pipe(polyclean.leftAlignJs())
		.pipe(polyclean.uglifyJs())
{'fraction_non_alphanumeric': 0.2017857142857143, 'fraction_numerical': 0.0, 'mean_word_length': 4.748717948717949, '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': '3979399', 'n_tokens_mistral': 421, 'n_tokens_neox': 394, 'n_words': 80}