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

	grunt.initConfig({

		// Allows for referencing of package property values
		pkg: grunt.file.readJSON('package.json'),

		bower: {
			install: {
				options: {
					cleanBowerDir: false,
					copy: false,
					install: true,
					verbose: true
				}
			}
		},

		copy: {
			dist: {
				files: [
					// Make all targets in 'src' directory copy to a location
					// in 'dist' relative to own directory
					
					// { expand:true, cwd:'src/', src:['*.html','*.png','*.ico'], dest:'dist' },
					// { expand:true, cwd:'src/js/', src:['**'], dest:'dist/js' },
					// { expand:true, cwd:'src/img/', src:['*.svg','*.png','*.jpg','*.jpeg'], dest:'dist/img' },
					// { expand:true, cwd:'src/fonts/', src:['**'], dest:'dist/fonts' }
					
					{	// html
						expand: true,
						flatten: false,
						cwd: 'src/',
						src: ['**/*.html'],
						dest: 'dist'
					},
					{	// favicon
						expand: true,
						flatten: false,
						cwd: 'src/',
						src: ['*.png', '*.ico'],
						dest: 'dist'
					},
					{	// images
						expand: true,
						flatten: false,
						cwd: 'src/images/',
						src: ['**/*'],
						dest: 'dist/images'
					},
					{	// media
						expand: true,
						flatten: false,
						cwd: 'src/media/',
						src: ['**/*'],
						dest: 'dist/media'
					},
					{
						// fonts
						expand: true,
						flatten: false,
						cwd: 'src/fonts/',
						src: ['**'],
						dest: 'dist/fonts'
					}
				]
			}
		},

		concat: {
			jquery: { files: {
				// jquery.min.js
				'dist/js/vendor/jquery/jquery.min.js':
					['bower_components/jquery/dist/jquery.min.js'],
				// jquery.min.map
				'dist/js/vendor/jquery/jquery.min.map':
					['bower_components/jquery/dist/jquery.min.map']
			}},
			waypoint: { files: {
				// jquery-waypoints.min.js
				'dist/js/vendor/jquery/plugins/jquery-waypoints.min.js':
					['bower_components/jquery-waypoints/waypoints.min.js']
			}},
			scrollit: { files: {
				// jquery-scrollIt.min.js
				'dist/js/vendor/jquery/plugins/jquery-scrollIt.min.js':
					['bower_components/ScrollIt/scrollIt.min.js']
			}}
		},

		sass: {
			options: {
				// Helps Sass task resolve Foundation dependencies
				loadPath: 'bower_components/foundation/scss',
				style: 'compressed',
				quiet: true
			},
			dist: { files: {
				// startup-sass.min.css
				'dist/css/startup-sass.min.css': 'src/scss/main.scss'
			}}
		},

		watch: {
			grunt: { files: ['Gruntfile.js'] },
			copy: {
				files: ['src/**'],
				tasks: ['copy']
			},
			sass: {
				files: 'src/scss/**/*.scss',
				tasks: ['sass'],
				livereload: true
			},

		}

	});

	grunt.loadNpmTasks('grunt-bower-task');
	grunt.loadNpmTasks('grunt-contrib-copy');
	grunt.loadNpmTasks('grunt-contrib-concat');
	grunt.loadNpmTasks('grunt-contrib-sass');
	grunt.loadNpmTasks('grunt-contrib-watch');
	
	grunt.registerTask('build', ['bower:install', 'concat', 'copy', 'sass']);
	grunt.registerTask('default', ['watch']);

}<commit_msg>Included first-party scripts in 'copy' task<commit_after>module.exports = function(grunt) {

	grunt.initConfig({

		// Allows for referencing of package property values
		pkg: grunt.file.readJSON('package.json'),

		bower: {
			install: {
				options: {
					cleanBowerDir: false,
					copy: false,
					install: true,
					verbose: true
				}
			}
		},

		copy: {
			dist: {
				files: [
					// Make all targets in 'src' directory copy to a location
					// in 'dist' relative to own directory
					
					// { expand:true, cwd:'src/', src:['*.html','*.png','*.ico'], dest:'dist' },
					// { expand:true, cwd:'src/js/', src:['**'], dest:'dist/js' },
					// { expand:true, cwd:'src/img/', src:['*.svg','*.png','*.jpg','*.jpeg'], dest:'dist/img' },
					// { expand:true, cwd:'src/fonts/', src:['**'], dest:'dist/fonts' }
					
					{	// html
						expand: true,
						flatten: false,
						cwd: 'src/',
						src: ['**/*.html'],
						dest: 'dist'
					},
					{	// first-party scripts
						expand: true,
						flatten: false,
						cwd: 'src/js/',
						src: ['**/*'],
						dest: 'dist/js'
					},
					{	// favicon
						expand: true,
						flatten: false,
						cwd: 'src/',
						src: ['*.png', '*.ico'],
						dest: 'dist'
					},
					{	// images
						expand: true,
						flatten: false,
						cwd: 'src/images/',
						src: ['**/*'],
						dest: 'dist/images'
					},
					{	// media
						expand: true,
						flatten: false,
						cwd: 'src/media/',
						src: ['**/*'],
						dest: 'dist/media'
					},
					{
						// fonts
						expand: true,
						flatten: false,
						cwd: 'src/fonts/',
						src: ['**'],
						dest: 'dist/fonts'
					}
				]
			}
		},

		concat: {
			jquery: { files: {
				// jquery.min.js
				'dist/js/vendor/jquery/jquery.min.js':
					['bower_components/jquery/dist/jquery.min.js'],
				// jquery.min.map
				'dist/js/vendor/jquery/jquery.min.map':
					['bower_components/jquery/dist/jquery.min.map']
			}},
			waypoint: { files: {
				// jquery-waypoints.min.js
				'dist/js/vendor/jquery/plugins/jquery-waypoints.min.js':
					['bower_components/jquery-waypoints/waypoints.min.js']
			}},
			scrollit: { files: {
				// jquery-scrollIt.min.js
				'dist/js/vendor/jquery/plugins/jquery-scrollIt.min.js':
					['bower_components/ScrollIt/scrollIt.min.js']
			}}
		},

		sass: {
			options: {
				// Helps Sass task resolve Foundation dependencies
				loadPath: 'bower_components/foundation/scss',
				style: 'compressed',
				quiet: true
			},
			dist: { files: {
				// startup-sass.min.css
				'dist/css/startup-sass.min.css': 'src/scss/main.scss'
			}}
		},

		watch: {
			grunt: { files: ['Gruntfile.js'] },
			copy: {
				files: ['src/**'],
				tasks: ['copy']
			},
			sass: {
				files: 'src/scss/**/*.scss',
				tasks: ['sass'],
				livereload: true
			},

		}

	});

	grunt.loadNpmTasks('grunt-bower-task');
	grunt.loadNpmTasks('grunt-contrib-copy');
	grunt.loadNpmTasks('grunt-contrib-concat');
	grunt.loadNpmTasks('grunt-contrib-sass');
	grunt.loadNpmTasks('grunt-contrib-watch');
	
	grunt.registerTask('build', ['bower:install', 'concat', 'copy', 'sass']);
	grunt.registerTask('default', ['watch']);

}

{'fraction_non_alphanumeric': 0.20504885993485342, 'fraction_numerical': 0.0, 'mean_word_length': 2.2560975609756095, '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': '5846912', 'n_tokens_mistral': 3034, 'n_tokens_neox': 2239, 'n_words': 370}