<commit_before>/* jslint node: true */
'use strict';

module.exports = function(grunt) {

  grunt.initConfig({

    pkg: grunt.file.readJSON("bower.json"),

    meta: {
      mainFile: 'email_obfuscator',
      banner: '/*! <%= pkg.name %> - v<%= pkg.version %> | <%= pkg.license %> License | ' +
        ' <%= pkg.homepage %> */\n'
    },

    concat: {
      dist: {
        src: ['src/<%= meta.mainFile %>.js'],
        dest: 'dist/<%= meta.mainFile %>.js'
      },
      options: {
        banner: '<%= meta.banner %>'
      }
    },

    uglify: {
      my_target: {
        src: ['dist/<%= meta.mainFile %>.js'],
        dest: 'dist/<%= meta.mainFile %>.min.js'
      },
      options: {
        banner: '<%= meta.banner %>'
      }
    },

    jasmine: {
      components: {
        src: ['dist/<%= meta.mainFile %>.js'],
        options: {
          specs: 'test/*Spec.js',
          keepRunner : false,
          vendor: [
            'https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'
          ]
        }
      }
    },

    jshint: {
      all: ['Gruntfile.js', 'src/<%= meta.mainFile %>.js', 'test/**/*.js']
    },<commit_msg>fixed jasmine task<commit_after>/* jslint node: true */
'use strict';

module.exports = function(grunt) {

  grunt.initConfig({

    pkg: grunt.file.readJSON("bower.json"),

    meta: {
      mainFile: 'email_obfuscator',
      banner: '/*! <%= pkg.name %> - v<%= pkg.version %> | <%= pkg.license %> License | ' +
        ' <%= pkg.homepage %> */\n'
    },

    concat: {
      dist: {
        src: ['src/<%= meta.mainFile %>.js'],
        dest: 'dist/<%= meta.mainFile %>.js'
      },
      options: {
        banner: '<%= meta.banner %>'
      }
    },

    uglify: {
      my_target: {
        src: ['dist/<%= meta.mainFile %>.js'],
        dest: 'dist/<%= meta.mainFile %>.min.js'
      },
      options: {
        banner: '<%= meta.banner %>'
      }
    },

    jasmine: {
      src: ['dist/<%= meta.mainFile %>.js'],
      options: {
        specs: 'test/spec/*Spec.js',
        outfile: 'test/_SpecRunner.html',
        keepRunner : true,
        vendor: 'http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'
      }
    },

    jshint: {
      all: ['Gruntfile.js', 'src/<%= meta.mainFile %>.js', 'test/**/*.js']
    },
{'fraction_non_alphanumeric': 0.21671018276762402, 'fraction_numerical': 0.0026109660574412533, 'mean_word_length': 1.773220747889023, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 1, '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': '47229', 'n_tokens_mistral': 900, 'n_tokens_neox': 826, 'n_words': 139}