<commit_before>var gulp = require('gulp'),
	browserify = require('browserify'),
	jsValidate = require('gulp-jsvalidate'),
	source = require('vinyl-source-stream'),
	embedlr = require('gulp-embedlr'),
	minifyCSS = require('gulp-cssnano');
	uglify = require("gulp-uglify"),
	sass = require('gulp-sass'),
	buffer = require("vinyl-buffer"),
	concat = require('gulp-concat');

gulp.task('makeMainPageJs', function() {
	return gulp.src("./doc/*.js").pipe(jsValidate()).on('finish', function(){
				browserify({entries: ["./doc/main.js"],debug: true})
				.bundle()
				.pipe(source('doc.min.js'))
				.pipe(buffer())
				.pipe(uglify())
			    .pipe(gulp.dest('doc'));
			});
});
gulp.task('makeMainPageCss', function() {
	return gulp.src(['./doc/main.scss'])
	.pipe(sass())
	.pipe(minifyCSS())
  	.pipe(concat('doc.min.css'))
    .pipe(gulp.dest("doc"))
    ;

});

gulp.task('makeMainPage', ['makeMainPageJs', 'makeMainPageCss']);<commit_msg>fixed building yasqe by other dependents<commit_after>var gulp = require('gulp'),
	browserify = require('browserify'),
	jsValidate = require('gulp-jsvalidate'),
	source = require('vinyl-source-stream'),
	embedlr = require('gulp-embedlr'),
	minifyCSS = require('gulp-cssnano');
	uglify = require("gulp-uglify"),
	sass = require('gulp-sass'),
	buffer = require("vinyl-buffer"),
	concat = require('gulp-concat');

gulp.task('makeMainPageJs', function() {
	return gulp.src("./doc/*.js").pipe(jsValidate()).on('finish', function(){
				browserify({entries: ["./doc/main.js"],debug: true})
				.bundle()
				.pipe(source('doc.min.js'))
				.pipe(buffer())
				.pipe(uglify())
			    .pipe(gulp.dest('doc'));
			});
});
gulp.task('makeMainPageCss', function() {
	return gulp.src(['./doc/main.scss'])
	.pipe(sass({ includePaths: [__dirname + '/../']}))
	.pipe(minifyCSS())
  	.pipe(concat('doc.min.css'))
    .pipe(gulp.dest("doc"))
    ;

});

gulp.task('makeMainPage', ['makeMainPageJs', 'makeMainPageCss']);
{'fraction_non_alphanumeric': 0.23195876288659795, 'fraction_numerical': 0.0, 'mean_word_length': 4.811377245508982, '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': '6571482', 'n_tokens_mistral': 753, 'n_tokens_neox': 712, 'n_words': 96}