<commit_before>// # Gruntfile
// Automation for the project.

'use strict';

var GruntConfig = require('thehelp-project').GruntConfig;

module.exports = function(grunt) {
  var config = new GruntConfig(grunt);

  config.standardSetup();
  config.standardDefault();

  // Produce files in the dist/ folder
  var options = require('./src/client/config');
  config.registerOptimize({
    name: 'thehelp-core',
    empty: ['winston', 'util'],
    config: options
  });

  config.registerCopy([{
    expand: true,
    cwd: 'src/client/shims',
    src: ['*.js'],
    dest: 'dist/shims',
  }, {
    expand: true,
    cwd: 'lib/vendor/tz',
    src: ['*'],<commit_msg>Gruntfile - no more standardsetup to customize doc<commit_after>// # Gruntfile
// Automation for the project.

'use strict';

var GruntConfig = require('thehelp-project').GruntConfig;

module.exports = function(grunt) {
  var config = new GruntConfig(grunt);

  config.setupTimeGrunt();
  config.registerWatch();
  config.registerEnv();
  config.registerClean();

  config.registerTest();
  config.registerStaticAnalysis();

  // Need to exclude the generated time.js files - 1) they're dupes 2) they hang groc
  config.registerDoc(['src/**/*.js', '*.js', 'README.md', '!src/both/time-*.js']);

  config.registerConnect();
  var options = require('./src/client/config');
  config.registerOptimize({
    name: 'thehelp-core',
    empty: ['winston', 'util'],
    config: options
  });

  config.registerCopy([{
    expand: true,
    cwd: 'src/client/shims',
    src: ['*.js'],
    dest: 'dist/shims',
  }, {
    expand: true,
    cwd: 'lib/vendor/tz',
    src: ['*'],
{'fraction_non_alphanumeric': 0.17549261083743842, 'fraction_numerical': 0.0012315270935960591, 'mean_word_length': 3.5264623955431755, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2913057', 'n_tokens_mistral': 551, 'n_tokens_neox': 534, 'n_words': 123}