<commit_before>/*
 * grunt-phantomas
 * https://github.com/stefanjudis/grunt-phantomas
 *
 * Copyright (c) 2013 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

module.exports = function( grunt ) {
  var devIndexPath = './phantomas/';

  grunt.initConfig( {

    clean : {
      /* https://github.com/gruntjs/grunt-contrib-clean */
      tests : [ 'tmp' ],
    },


    compass : {
      /* https://github.com/gruntjs/grunt-contrib-compass */
      dist : {
        options: {
          sassDir     : 'tasks/assets/sass',
          cssDir      : 'tasks/public/styles',
          environment : 'production'
        }
      }
    },


    copy : {
      /* https://github.com/gruntjs/grunt-contrib-copy */
      scripts : {
        files : [
          {
            cwd    : 'tasks/public/scripts/',
            expand : true,
            src    : [ '**' ],
            dest   : devIndexPath + 'public/scripts/',
            filter : 'isFile'
          },
        ]
      },
      styles : {
        files : [
          {
            cwd    : 'tasks/public/styles/',
            expand : true,
            src    : [ '**' ],
            dest   : devIndexPath + 'public/styles/',
            filter : 'isFile'
          },
        ]
      }
    },


    jshint: {
      /* https://github.com/gruntjs/grunt-contrib-jshint */
      all: [
        'Gruntfile.js',
        'tasks/assets/**/*.js',
        '!tasks/assets/scripts/d3.min.js',
        'tasks/lib/**/*.js',
        '<%= nodeunit.tests %>',
      ],
      options : {
        jshintrc : '.jshintrc',
      },
    },


    phantomas : {
      /* https://github.com/stefanjudis/grunt-phantomas */
      grunt : {
        options : {
          indexPath : './phantomas/',
          options   : {
            'timeout' : 30
          },
          url       : 'http://gruntjs.com/'<commit_msg>added commented new option for easier testing in future<commit_after>/*
 * grunt-phantomas
 * https://github.com/stefanjudis/grunt-phantomas
 *
 * Copyright (c) 2013 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

module.exports = function( grunt ) {
  var devIndexPath = './phantomas/';

  grunt.initConfig( {

    clean : {
      /* https://github.com/gruntjs/grunt-contrib-clean */
      tests : [ 'tmp' ],
    },


    compass : {
      /* https://github.com/gruntjs/grunt-contrib-compass */
      dist : {
        options: {
          sassDir     : 'tasks/assets/sass',
          cssDir      : 'tasks/public/styles',
          environment : 'production'
        }
      }
    },


    copy : {
      /* https://github.com/gruntjs/grunt-contrib-copy */
      scripts : {
        files : [
          {
            cwd    : 'tasks/public/scripts/',
            expand : true,
            src    : [ '**' ],
            dest   : devIndexPath + 'public/scripts/',
            filter : 'isFile'
          },
        ]
      },
      styles : {
        files : [
          {
            cwd    : 'tasks/public/styles/',
            expand : true,
            src    : [ '**' ],
            dest   : devIndexPath + 'public/styles/',
            filter : 'isFile'
          },
        ]
      }
    },


    jshint: {
      /* https://github.com/gruntjs/grunt-contrib-jshint */
      all: [
        'Gruntfile.js',
        'tasks/assets/**/*.js',
        '!tasks/assets/scripts/d3.min.js',
        'tasks/lib/**/*.js',
        '<%= nodeunit.tests %>',
      ],
      options : {
        jshintrc : '.jshintrc',
      },
    },


    phantomas : {
      /* https://github.com/stefanjudis/grunt-phantomas */
      grunt : {
        options : {
          // additionalStylesheet : '/Users/stefan/Desktop/custom2.css',
          indexPath            : './phantomas/',
          options              : {
            'timeout' : 30
          },
          url                  : 'http://gruntjs.<EMAIL>/'
{'fraction_non_alphanumeric': 0.15924391506991195, 'fraction_numerical': 0.0038839979285344383, 'mean_word_length': 1.2844470727380248, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 12, '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': '4279409', 'n_tokens_mistral': 1245, 'n_tokens_neox': 1211, 'n_words': 175}