<commit_before>'use strict';
module.exports = function(grunt) {

	grunt.initConfig({
		jshint: {
			options: {
				jshintrc: '.jshintrc'
			},
			all: [
				'Gruntfile.js',
				'assets/js/main.js'
			]
		},

		uglify: {
			dist: {
				options: {
					mangle: false,
					sourceMap: true
				},
				files: {
					'assets/js/dist/main.min.js': ['assets/js/main.js']
				}
			}
		},

		less: {
			dist: {
				options: {
					compress: false
				},
				files: {
					'assets/css/dist/style.min.css': [
						'assets/css/normalize.css', 'assets/less/style.less'
					]
				}
			}
		},

		autoprefixer: {
			dist: {
				options: {
					browsers: ['last 2 versions', 'ie 8', 'ie 9'],
					cascade: false,
				},
				src: 'assets/css/dist/style.min.css'
			}
		},

		watch: {
			options: {
			    dateFormat: function(time) {
			        grunt.log.writeln('Finished in ' + time + 'ms');
			        grunt.log.writeln('Waiting...');
			        grunt.log.writeln('');
			    }
			},
			less: {
				options: {
					spawn: false,
					livereload: true
				},
				files: [
					'assets/less/*.less'
				],
				tasks: ['less', 'autoprefixer']
			},
			js: {
				files: [
					'<%= jshint.all %>'
				],
				tasks: ['jshint', 'uglify']
			}
		}

	});

	// Load tasks
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('grunt-autoprefixer');
	grunt.loadNpmTasks('grunt-contrib-watch');

	// Register tasks
	grunt.registerTask('default', [
		'jshint',
		'uglify',
		'less',
		'autoprefixer'
	]);

};
<commit_msg>replace autoprefixer with pleeease<commit_after>'use strict';
module.exports = function(grunt) {

	grunt.initConfig({
		jshint: {
			options: {
				jshintrc: '.jshintrc'
			},
			all: [
				'Gruntfile.js',
				'assets/js/main.js'
			]
		},

		uglify: {
			dist: {
				options: {
					mangle: false,
					sourceMap: true
				},
				files: {
					'assets/js/dist/main.min.js': ['assets/js/main.js']
				}
			}
		},

		less: {
			dist: {
				files: {
					'assets/css/dist/style.min.css': [
						'assets/css/normalize.css', 'assets/less/style.less'
					]
				}
			}
		},

		pleeease: {
			dist: {
				options: {
					autoprefixer: { 'browsers': ['last 2 versions', 'ie 9'] },
					minifier: { preserveHacks: true, removeAllComments: true },
					mqpacker: true
				},
				files: {
					'assets/css/dist/style.min.css': 'assets/css/dist/style.min.css'
				}
			}
		},

		watch: {
			options: {
			    dateFormat: function(time) {
			        grunt.log.writeln('Finished in ' + time + 'ms');
			        grunt.log.writeln('Waiting...');
			        grunt.log.writeln('');
			    }
			},
			less: {
				options: {
					spawn: false,
					livereload: true
				},
				files: [
					'assets/less/*.less'
				],
				tasks: ['less', 'pleeease']
			},
			js: {
				files: [
					'<%= jshint.all %>'
				],
				tasks: ['jshint', 'uglify']
			}
		}

	});

	// Load tasks
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('grunt-pleeease');
	grunt.loadNpmTasks('grunt-contrib-watch');

	// Register tasks
	grunt.registerTask('default', [
		'jshint',
		'uglify',
		'less',
		'pleeease'
	]);

};

{'fraction_non_alphanumeric': 0.1865079365079365, 'fraction_numerical': 0.0015262515262515263, 'mean_word_length': 2.187743190661479, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6759775', 'n_tokens_mistral': 1682, 'n_tokens_neox': 1300, 'n_words': 179}