<commit_before>
module.exports = function(grunt) {

	grunt.loadNpmTasks('grunt-contrib-clean');
	grunt.loadNpmTasks('grunt-contrib-copy');
	grunt.loadNpmTasks('grunt-contrib-watch');
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-jst');
	grunt.loadNpmTasks('grunt-contrib-requirejs');
	grunt.loadNpmTasks('grunt-contrib-concat');



	grunt.initConfig({

		pkg: grunt.file.readJSON('package.json'),

		clean: {

			build: [

				'dist/public/bower_components',
				'dist/public/css',
				'dist/public/fonts',
				'dist/public/img',
				'dist/public/index.html',
				'dist/public/js',
				'dist/public/locale',
				'dist/public/templates',
				'dist/server.js',
			]
		},

		copy: {

			requirejs: {

				src: 'src/public/bower_components/requirejs/require.js',
				dest: 'src/public/js/require.js'
			},
<commit_msg>Better grunt clean config (another task deletes the upload directory though...)<commit_after>
module.exports = function(grunt) {

	grunt.loadNpmTasks('grunt-contrib-clean');
	grunt.loadNpmTasks('grunt-contrib-copy');
	grunt.loadNpmTasks('grunt-contrib-watch');
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-jst');
	grunt.loadNpmTasks('grunt-contrib-requirejs');
	grunt.loadNpmTasks('grunt-contrib-concat');



	grunt.initConfig({

		pkg: grunt.file.readJSON('package.json'),

		clean: {

			build: {

				options: {

					force: true,
				},
				src: [

					'!dist/*/*',
					'!dist/upload',
				],
			}
		},

		copy: {

			requirejs: {

				src: 'src/public/bower_components/requirejs/require.js',
				dest: 'src/public/js/require.js'
			},

{'fraction_non_alphanumeric': 0.17533606078316774, 'fraction_numerical': 0.0, 'mean_word_length': 3.782122905027933, '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': '3455816', 'n_tokens_mistral': 754, 'n_tokens_neox': 638, 'n_words': 69}