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

	'use strict';

	grunt.initConfig({

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


		// License banner //
		banner: '/*! \n' +
			' * <%= pkg.name %>\n' +
			' * Copyright 2013-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
			' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' +
			' */\n',


		// Clean dist directory //
		clean: {
			dist: ['dist/'],
		},


		// Compile Less file //
		less: {
			options: {
				strictMath: true
			},
			dist: {
				files: {
					'dist/style/swif.css': 'style/startup.less'
				}
			}
		},


		// Clean and organize css file //
		csscomb: {
			options: {
				config: 'grunt/.csscomb.json'
			},
			dist: {
				files: {
					'dist/style/swif.css': ['dist/style/swif.css']
				}
			}
		},


		// Target HTML  //
		targethtml: {
			dist: {
				files: {
					'dist/index.html': 'index.html'
				}
			}
		},


		// Copy files to the Dist //
		copy: {
			dist: {
				files: {
					'dist/': [
						'app-interventions/**',
						'app-reservations/**',
						'fonts/**',
						'js/*.js',
						'js/**/*.js',
						'js/libs/**.js',
						'i18n/**',
						'templates/**',
						'config/*',
						'properties.json',
						'font/*',
						'medias/**/*',
						'LICENSE',
						'AUTHORS'
					]
				}
			}
		},


		// Check JS Files //
		jshint: {
			options: {
				jshintrc: 'grunt/.jshintrc'
			},
			gruntfile: {
				src: ['Gruntfile.js']
			},
			jsonFile: {
				src: ['properties.json', 'package.json', 'config/*.json.*', 'i18n/**/*.json', 'grunt/.*.json', 'app-interventions/config/*.json', 'app-reservations/config/*.json'],
			},
			scripts_main: {
				src: ['js/**/*.js', '!js/libs/*', '!js/i18n/*']
			},
			scripts_inter: {
				src: ['app-interventions/js/**/*.js', 'app-interventions/main.js']
			},
			scripts_resa: {
				//src: ['app-reservations/js/**/*.js', 'app-reservations/main.js']
				src: ['app-reservations/main.js', 'app-reservations/js/routers/*.js', 'app-reservations/js/models/*.js', 'app-reservations/js/collections/*.js']
			},
		},


		// Check CSS Files //
		csslint: {
			dist: {
				options: {
					csslintrc: 'grunt/.csslintrc'
				},
				src: ['dist/style/*.css']
			}
		},


		// Check Style JS Files //
		jscs: {
			options: {
				config: 'grunt/.jscsrc'
			},
			gruntfile: {
				src: ['Gruntfile.js']
			},
			scripts: {
				src: ['js/views/modals/ModalPlaceView.js']
			}
		},



		// Compress the CSS file //
		cssmin: {
			dist: {
				options: {
					banner: '<%= banner %>',
					keepSpecialComments: 0
				},
				files: {
					'dist/style/swif.css': ['dist/style/swif.css']
				}
			}
		},


		// Archive the dist //
		compress : {
			dist : {
				options : {
					mode   : 'tgz',
					level  : 9,
					archive: '<%= pkg.name %>_v<%= pkg.version %>.tar.gz',
					pretty : true
				},
				files : [
					{ expand: true, src : '**/*', cwd : 'dist/' }
				]
			}<commit_msg>update compress grunt<commit_after>module.exports = function(grunt) {

	'use strict';

	grunt.initConfig({

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


		// License banner //
		banner: '/*! \n' +
			' * <%= pkg.name %>\n' +
			' * Copyright 2013-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
			' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' +
			' */\n',

		archiveName: '<%= pkg.name %>_v<%= pkg.version %>.tar.gz',


		// Clean dist directory //
		clean: {
			dist: ['dist/', '*.tar.gz'],
		},


		// Compile Less file //
		less: {
			options: {
				strictMath: true
			},
			dist: {
				files: {
					'dist/style/swif.css': 'style/startup.less'
				}
			}
		},


		// Clean and organize css file //
		csscomb: {
			options: {
				config: 'grunt/.csscomb.json'
			},
			dist: {
				files: {
					'dist/style/swif.css': ['dist/style/swif.css']
				}
			}
		},


		// Target HTML  //
		targethtml: {
			dist: {
				files: {
					'dist/index.html': 'index.html'
				}
			}
		},


		// Copy files to the Dist //
		copy: {
			dist: {
				files: {
					'dist/': [
						'app-interventions/**',
						'app-reservations/**',
						'fonts/**',
						'js/*.js',
						'js/**/*.js',
						'js/libs/**.js',
						'i18n/**',
						'templates/**',
						'config/*',
						'properties.json',
						'font/*',
						'medias/**/*',
						'LICENSE',
						'AUTHORS'
					]
				}
			}
		},


		// Check JS Files //
		jshint: {
			options: {
				jshintrc: 'grunt/.jshintrc'
			},
			gruntfile: {
				src: ['Gruntfile.js']
			},
			jsonFile: {
				src: ['properties.json', 'package.json', 'config/*.json.*', 'i18n/**/*.json', 'grunt/.*.json', 'app-interventions/config/*.json', 'app-reservations/config/*.json'],
			},
			scripts_main: {
				src: ['js/**/*.js', '!js/libs/*', '!js/i18n/*']
			},
			scripts_inter: {
				src: ['app-interventions/js/**/*.js', 'app-interventions/main.js']
			},
			scripts_resa: {
				//src: ['app-reservations/js/**/*.js', 'app-reservations/main.js']
				src: ['app-reservations/main.js', 'app-reservations/js/routers/*.js', 'app-reservations/js/models/*.js', 'app-reservations/js/collections/*.js']
			},
		},


		// Check CSS Files //
		csslint: {
			dist: {
				options: {
					csslintrc: 'grunt/.csslintrc'
				},
				src: ['dist/style/*.css']
			}
		},


		// Check Style JS Files //
		jscs: {
			options: {
				config: 'grunt/.jscsrc'
			},
			gruntfile: {
				src: ['Gruntfile.js']
			},
			scripts: {
				src: ['js/views/modals/ModalPlaceView.js']
			}
		},



		// Compress the CSS file //
		cssmin: {
			dist: {
				options: {
					banner: '<%= banner %>',
					keepSpecialComments: 0
				},
				files: {
					'dist/style/swif.css': ['dist/style/swif.css']
				}
			}
		},


		// Archive the dist //
		compress : {
			dist : {
				options : {
					mode   : 'tgz',
					level  : 9,
					archive: '<%= archiveName %>',
					pretty : true
				},
				files : [
					{ expand: true, src : '**/*', cwd : 'dist/' }
				]
			}
{'fraction_non_alphanumeric': 0.22653337851575736, 'fraction_numerical': 0.004066418163334463, 'mean_word_length': 1.9237246161466073, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, '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': '2165404', 'n_tokens_mistral': 3074, 'n_tokens_neox': 2287, 'n_words': 369}