<commit_before>var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();

var files = {
	build: 'build/**/*.*',
	buildJS: 'build/code.js',
	buildCSS: 'build/styles.css',
	css: 'css/**/*.css',
	filePaths: ['css/**/*.css', 'ts/Services/*.js', 'ts/Models/*.js', 'ts/Interfaces/*.js', 'ts/Controllers/*.js', 'ts/App.js'],
	index: '../Views/Home/Index.cshtml',
	indexBkp: '../Views/Home/Index.cshtml.bkp',
	js: 'js/**/*.js',
	scss: 'scss/*.scss',
	scssAll: 'scss/**/*.scss'
};

var paths = {
    general: '../',
	build: 'build',
	css: 'css',
	project: '../Views/Home/',
	scss: 'scss',
    js: 'js'
};

// Compile Sass
gulp.task('sass', function(){
	return gulp.src(files.scss)
		.pipe(plugins.sass())
		.pipe(plugins.autoprefixer({
		    browsers: ['last 2 version']
		}))
		.pipe(gulp.dest(paths.css));
});

// Inject JS & CSS Files
gulp.task('inject', ['clear'], function() {
	return gulp.src(files.index)
		.pipe(plugins.inject(
			gulp.src(files.filePaths, { read: false }),
			{
				transform: function (filepath) {<commit_msg>Add sass dependency to inject in gulpfile<commit_after>var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();

var files = {
	build: 'build/**/*.*',
	buildJS: 'build/code.js',
	buildCSS: 'build/styles.css',
	css: 'css/**/*.css',
	filePaths: ['css/**/*.css', 'ts/Services/*.js', 'ts/Models/*.js', 'ts/Interfaces/*.js', 'ts/Controllers/*.js', 'ts/App.js'],
	index: '../Views/Home/Index.cshtml',
	indexBkp: '../Views/Home/Index.cshtml.bkp',
	js: 'js/**/*.js',
	scss: 'scss/*.scss',
	scssAll: 'scss/**/*.scss'
};

var paths = {
    general: '../',
	build: 'build',
	css: 'css',
	project: '../Views/Home/',
	scss: 'scss',
    js: 'js'
};

// Compile Sass
gulp.task('sass', function(){
	return gulp.src(files.scss)
		.pipe(plugins.sass())
		.pipe(plugins.autoprefixer({
		    browsers: ['last 2 version']
		}))
		.pipe(gulp.dest(paths.css));
});

// Inject JS & CSS Files
gulp.task('inject', ['clear', 'sass'], function() {
	return gulp.src(files.index)
		.pipe(plugins.inject(
			gulp.src(files.filePaths, { read: false }),
			{
				transform: function (filepath) {
{'fraction_non_alphanumeric': 0.2511781338360038, 'fraction_numerical': 0.000942507068803016, 'mean_word_length': 3.615217391304348, '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': '5877635', 'n_tokens_mistral': 886, 'n_tokens_neox': 859, 'n_words': 157}