<commit_before>"use strict";

module.exports = function (grunt) {

	require('load-grunt-tasks')(grunt);
	var webpack = require("webpack");
	var webpackConfig = require("./webpack.config.js");

	var deployPath = "deploy/";

	// Project configuration.
	grunt.initConfig({
		pkg: grunt.file.readJSON("package.json"),
		bump: {
			options: {
				files: ["package.json"],
				updateConfigs: ["pkg"],
				commit: true,
				commitMessage: "Bump version to %VERSION%",
				commitFiles: ["package.json"],
				createTag: false,
				push: false
			}
		},
		clean: {
			deploy: deployPath
		},
		compress: {
			deploy: {
				options: {
					archive: function() {
						var branchInfo = grunt.config("gitinfo.local.branch.current");
						return "webvowl-" + branchInfo.name + "-" + branchInfo.shortSHA + ".zip";
					},
					level: 9,
					pretty: true
				},
				files: [
					{expand: true, cwd: "deploy/", src: ["**"], dest: "webvowl/"}
				]
			}
		},
		connect: {
			devserver: {
				options: {<commit_msg>Remove zip files with grunt clean<commit_after>"use strict";

module.exports = function (grunt) {

	require('load-grunt-tasks')(grunt);
	var webpack = require("webpack");
	var webpackConfig = require("./webpack.config.js");

	var deployPath = "deploy/";

	// Project configuration.
	grunt.initConfig({
		pkg: grunt.file.readJSON("package.json"),
		bump: {
			options: {
				files: ["package.json"],
				updateConfigs: ["pkg"],
				commit: true,
				commitMessage: "Bump version to %VERSION%",
				commitFiles: ["package.json"],
				createTag: false,
				push: false
			}
		},
		clean: {
			deploy: deployPath,
			zip: "webvowl-*.zip"
		},
		compress: {
			deploy: {
				options: {
					archive: function() {
						var branchInfo = grunt.config("gitinfo.local.branch.current");
						return "webvowl-" + branchInfo.name + "-" + branchInfo.shortSHA + ".zip";
					},
					level: 9,
					pretty: true
				},
				files: [
					{expand: true, cwd: "deploy/", src: ["**"], dest: "webvowl/"}
				]
			}
		},
		connect: {
			devserver: {
				options: {
{'fraction_non_alphanumeric': 0.17474302496328928, 'fraction_numerical': 0.0009789525208027412, 'mean_word_length': 2.8638941398865785, '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': '4685411', 'n_tokens_mistral': 893, 'n_tokens_neox': 693, 'n_words': 147}