<commit_before>/**
 * @author <NAME>
 * @license The MIT license (LICENSE.txt)
 * @copyright 2015 <NAME>
 * @url https://github.com/rharel/webgl-dm-voronoi
 */

module.exports = function(grunt) {

  config = {
    pkg: grunt.file.readJSON('package.json'),
    src_dir: 'src/',
    test_dir: 'test/',
    dist_dir: 'dist/',
    demo_dir: 'demo/',

    jshint: {
      src: [
        '<%= src_dir %>**/*.js'
      ],

      all: [
        '<%= src_dir %>**/*.js',
        '<%= demo_dir %>**/*.js'
      ]
    },

    clean: {
      dist: {
        src: [
          '<%= dist_dir %>/*.js'
        ]
      }
    },

    copy: {
      release: {
        expand: true,
        cwd: '<%= src_dir %>',
        src: ['**/*.js'],
        dest: '<%= temp_dir %>',
        flatten: true,
        filter: 'isFile',
        options: {
          process: function(content) {
            var headerEnd = '*/';
            var i = content.indexOf(headerEnd);
            return content.slice(i + headerEnd.length);
          }
        }
      }
    },

    concat: {
      options: {
        stripBanners: true,
        banner: '/**\n' +
                ' * @author <NAME>\n' +
                ' * @license The MIT license (LICENSE.txt)\n' +
                ' * @copyright 2015 <NAME>\n' +
                ' * @url https://github.com/rharel/webgl-dm-voronoi\n' +
                '*/\n\n',
        separator: '\n\n'
      },

      release: {
        src: [
          '<%= src_dir %>/core/*.js',
          '<%= src_dir %>/sites/SIte.js',
          '<%= src_dir %>/sites/PointSite.js',
          '<%= src_dir %>/exports.js'<commit_msg>Added geometry-extensions.js to concat step<commit_after>/**
 * @author <NAME>
 * @license The MIT license (LICENSE.txt)
 * @copyright 2015 <NAME>
 * @url https://github.com/rharel/webgl-dm-voronoi
 */

module.exports = function(grunt) {

  config = {
    pkg: grunt.file.readJSON('package.json'),
    src_dir: 'src/',
    test_dir: 'test/',
    dist_dir: 'dist/',
    demo_dir: 'demo/',

    jshint: {
      src: [
        '<%= src_dir %>**/*.js'
      ],

      all: [
        '<%= src_dir %>**/*.js',
        '<%= demo_dir %>**/*.js'
      ]
    },

    clean: {
      dist: {
        src: [
          '<%= dist_dir %>/*.js'
        ]
      }
    },

    copy: {
      release: {
        expand: true,
        cwd: '<%= src_dir %>',
        src: ['**/*.js'],
        dest: '<%= temp_dir %>',
        flatten: true,
        filter: 'isFile',
        options: {
          process: function(content) {
            var headerEnd = '*/';
            var i = content.indexOf(headerEnd);
            return content.slice(i + headerEnd.length);
          }
        }
      }
    },

    concat: {
      options: {
        stripBanners: true,
        banner: '/**\n' +
                ' * @author <NAME>\n' +
                ' * @license The MIT license (LICENSE.txt)\n' +
                ' * @copyright 2015 <NAME>\n' +
                ' * @url https://github.com/rharel/webgl-dm-voronoi\n' +
                '*/\n\n',
        separator: '\n\n'
      },

      release: {
        src: [
          '<%= src_dir %>/geometry-extensions.js',
          '<%= src_dir %>/core/*.js',
          '<%= src_dir %>/sites/SIte.js',
          '<%= src_dir %>/sites/PointSite.js',
          '<%= src_dir %>/exports.js'
{'fraction_non_alphanumeric': 0.19589495925143374, 'fraction_numerical': 0.004829459704195593, 'mean_word_length': 1.4278388278388279, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 4, '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': '2037938', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1133, 'n_words': 197}