<commit_before>/* global module:false */
module.exports = function(grunt) {

	var fs, files, opts, spawn, builds = {};

	opts = {
		baseUrl: "src",
		name: "../build/REPLACE",
		out: "dist/REPLACE.js",
		mainConfigFile: "build/config/production.js"
	};

	fs = require( 'fs' );
	files = fs.readdirSync( "build/custom/" );

	files.forEach(function( file ) {
		if( /\.js$/.test(file) ){
			var name = file.replace(/\.js$/, ""),
				o = Object.create(opts);

			builds[name] = {
				options: o
			};

			builds[name].options.name = o.name.replace("REPLACE", "custom/" + name );
			builds[name].options.out = o.out.replace("REPLACE", name );
		}
	});

	builds.production = {
		options: {
			baseUrl: "src",
			name: "../build/production",
			out: "dist/production.js",
			mainConfigFile: "build/config/production.js"
		}
	};

	// NOTE config includes development
	builds.development = {
		options: {
			baseUrl: "src",
			// NOTE uses the same meta-module as production
			name: "../build/development",
			out: "dist/development.js",
			mainConfigFile: "build/config/development.js"
		}
	};

	// Project configuration.
	grunt.initConfig({
		meta: {
			version: '1.0.2',<commit_msg>Ugh, woops, missed the other 1.0.3 bump<commit_after>/* global module:false */
module.exports = function(grunt) {

	var fs, files, opts, spawn, builds = {};

	opts = {
		baseUrl: "src",
		name: "../build/REPLACE",
		out: "dist/REPLACE.js",
		mainConfigFile: "build/config/production.js"
	};

	fs = require( 'fs' );
	files = fs.readdirSync( "build/custom/" );

	files.forEach(function( file ) {
		if( /\.js$/.test(file) ){
			var name = file.replace(/\.js$/, ""),
				o = Object.create(opts);

			builds[name] = {
				options: o
			};

			builds[name].options.name = o.name.replace("REPLACE", "custom/" + name );
			builds[name].options.out = o.out.replace("REPLACE", name );
		}
	});

	builds.production = {
		options: {
			baseUrl: "src",
			name: "../build/production",
			out: "dist/production.js",
			mainConfigFile: "build/config/production.js"
		}
	};

	// NOTE config includes development
	builds.development = {
		options: {
			baseUrl: "src",
			// NOTE uses the same meta-module as production
			name: "../build/development",
			out: "dist/development.js",
			mainConfigFile: "build/config/development.js"
		}
	};

	// Project configuration.
	grunt.initConfig({
		meta: {
			version: '1.0.3',
{'fraction_non_alphanumeric': 0.1883936080740118, 'fraction_numerical': 0.0037846930193439865, 'mean_word_length': 3.066666666666667, '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': '6219110', 'n_tokens_mistral': 972, 'n_tokens_neox': 848, 'n_words': 169}