<commit_before>'use strict';

// Deal with local HTML5 Mode
var serveStatic = require('serve-static');
var modRewrite = require('connect-modrewrite');
var mountFolder = function (connect, dir) {
  return connect().use(require('path').resolve(dir), serveStatic(require('path').resolve(dir)));
};
var filesRedirect = '!\\.html|\\.js|\\.svg|\\.woff|\\.ttf|\\.eot|\\.otf|\\.css|\\.png|\\.jpg$ /index.html [L]';

module.exports = function(grunt) {

  require('load-grunt-tasks')(grunt);


	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		app: 'app',
		dist: 'dist',

		sass: {
			options: {
				includePaths: [
				  '<%= app %>/bower_components/bootstrap-sass-official/assets/stylesheets',
          '<%= app %>/bower_components/bourbon/dist',
          '<%= app %>/bower_components/proudcity-patterns/app'
				]
			},
			dist: {
				options: {
					outputStyle: 'extended'
				},
				files: {
					'<%= app %>/css/bootstrap.css': '<%= app %>/scss/bootstrap.scss',
					'<%= app %>/css/app.css': '<%= app %>/scss/app.scss'
				}
			}
		},

		jshint: {
			options: {
				jshintrc: '.jshintrc'
			},<commit_msg>udating gruntfile to work with new patterns include path<commit_after>'use strict';

// Deal with local HTML5 Mode
var serveStatic = require('serve-static');
var modRewrite = require('connect-modrewrite');
var mountFolder = function (connect, dir) {
  return connect().use(require('path').resolve(dir), serveStatic(require('path').resolve(dir)));
};
var filesRedirect = '!\\.html|\\.js|\\.svg|\\.woff|\\.ttf|\\.eot|\\.otf|\\.css|\\.png|\\.jpg$ /index.html [L]';

module.exports = function(grunt) {

  require('load-grunt-tasks')(grunt);


	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		app: 'app',
		dist: 'dist',

		sass: {
			options: {
				includePaths: [
					'<%= app %>',
				  '<%= app %>/bower_components/bootstrap-sass-official/assets/stylesheets',
          '<%= app %>/bower_components/bourbon/dist',
          '<%= app %>/bower_components/proudcity-patterns/app'
				]
			},
			dist: {
				options: {
					outputStyle: 'extended'
				},
				files: {
					'<%= app %>/css/bootstrap.css': '<%= app %>/scss/bootstrap.scss',
					'<%= app %>/css/app.css': '<%= app %>/scss/app.scss'
				}
			}
		},

		jshint: {
			options: {
				jshintrc: '.jshintrc'
			},
{'fraction_non_alphanumeric': 0.21856027753686036, 'fraction_numerical': 0.0008673026886383347, 'mean_word_length': 3.068783068783069, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '2127187', 'n_tokens_mistral': 989, 'n_tokens_neox': 845, 'n_words': 133}