<commit_before>'use strict';

module.exports = function(grunt) {
    grunt.config.init({
        watch:{
            files: ['gruntfile.js', './**/*.js', 'test/**/*.js'],
            tasks: ['eslint', 'mochaTest']
        },
        eslint: {
          src: ['.']
        },
        mochaTest: {
          test: {
            options: {
              reporter: 'list'
            },
            src: ['test/**/*.js']
          }
        }
      });
      grunt.loadNpmTasks('grunt-contrib-watch');
      grunt.loadNpmTasks('grunt-contrib-compass');
      grunt.loadNpmTasks('gruntify-eslint');
      grunt.loadNpmTasks('grunt-mocha-test');
    };
<commit_msg>Add grunt configuration #6<commit_after>'use strict';

module.exports = function(grunt) {
    grunt.config.init({
        watch:{
            files: ['gruntfile.js', './**/*.js', 'test/**/*.js', './**/*.scss'],
            tasks: ['compass:clean', 'compass:compileDevelopment', 'eslint', 'mochaTest']
        },
        eslint: {
          src: ['.']
        },
        mochaTest: {
          test: {
            options: {
              reporter: 'list'
            },
            src: ['test/**/*.js']
          }
        },
        compass: {
          clean: {
            options: {
              sassDir: 'resource-bundles',
              cssDir: 'resource-bundles',
              clean: true
            }
          },
          compileDevelopment: {
            options: {
              sassDir: 'resource-bundles',
              cssDir: 'resource-bundles',
              environment: 'development'
            }
          },
          watch: {
            options: {
              sassDir: 'resource-bundles',
              cssDir: 'resource-bundles',
              watch: true
            }
          }
        },
        exec: {
          command: 'electron main.js',
          stdout: true,
          stderr: true
        }
      });

      grunt.loadNpmTasks('grunt-contrib-watch');
      grunt.loadNpmTasks('grunt-contrib-compass');
      grunt.loadNpmTasks('gruntify-eslint');
      grunt.loadNpmTasks('grunt-mocha-test');
      grunt.loadNpmTasks('grunt-exec');

      grunt.registerTask('default', ['compass:clean', 'compass:compileDevelopment', 'eslint', 'mochaTest', 'exec']);
      grunt.registerTask('development', ['compass:clean', 'compass:compileDevelopment', 'eslint', 'mochaTest', 'exec']);
    };

{'fraction_non_alphanumeric': 0.1649181703734788, 'fraction_numerical': 0.000419639110365086, 'mean_word_length': 1.5415778251599148, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3336195', 'n_tokens_mistral': 726, 'n_tokens_neox': 702, 'n_words': 104}