<commit_before>var _ = require('lodash');
var path = require('canonical-path');
var packagePath = __dirname;

var basePackage = require('../packages/docs.angularjs.org');

module.exports = function(config) {

  config = basePackage(config);

  config.set('source.files', [
    { pattern: 'src/**/*.js', basePath: path.resolve(packagePath) },
    { pattern: '**/*.ngdoc', basePath: path.resolve(packagePath, 'content') }
  ]);

  config.set('rendering.outputFolder', 'build');
  config.set('rendering.cleanOutputFolder', true);

  config.set('logging.level', 'info');

  config.merge('deployment', {
    environments: [{
      name: 'debug',
      scripts: [
        'angular.js',
        'angular-resource.js',
        'angular-route.js',
        'angular-cookies.js',
        'angular-sanitize.js',
        'angular-touch.js',
        'angular-animate.js',
        'components/marked/lib/marked.js',
        'js/angular-bootstrap/bootstrap.js',
        'js/angular-bootstrap/bootstrap-prettify.js',
        'components/lunr.js/lunr.js',
        'components/google-code-prettify/src/prettify.js',
        'components/google-code-prettify/src/lang-css.js',
        'js/versions-data.js',
        'js/pages-data.js',
        'js/docs.js'
      ],
      stylesheets: [
        'css/bootstrap/css/bootstrap.css',
        'components/open-sans-fontface/open-sans.css',
        'css/prettify-theme.css',
        'css/docs.css',
        'css/animations.css'
      ]
    }]
  });

  return config;
};<commit_msg>feat(example): add default environment<commit_after>var _ = require('lodash');
var path = require('canonical-path');
var packagePath = __dirname;

var basePackage = require('../packages/docs.angularjs.org');

module.exports = function(config) {

  config = basePackage(config);

  config.set('source.files', [
    { pattern: 'src/**/*.js', basePath: path.resolve(packagePath) },
    { pattern: '**/*.ngdoc', basePath: path.resolve(packagePath, 'content') }
  ]);

  config.set('rendering.outputFolder', 'build');
  config.set('rendering.cleanOutputFolder', true);

  config.set('logging.level', 'info');

  config.merge('deployment', {
    environments: [{
      name: 'debug',
      scripts: [
        'angular.js',
        'angular-resource.js',
        'angular-route.js',
        'angular-cookies.js',
        'angular-sanitize.js',
        'angular-touch.js',
        'angular-animate.js',
        'components/marked/lib/marked.js',
        'js/angular-bootstrap/bootstrap.js',
        'js/angular-bootstrap/bootstrap-prettify.js',
        'components/lunr.js/lunr.js',
        'components/google-code-prettify/src/prettify.js',
        'components/google-code-prettify/src/lang-css.js',
        'js/versions-data.js',
        'js/pages-data.js',
        'js/docs.js'
      ],
      stylesheets: [
        'css/bootstrap/css/bootstrap.css',
        'components/open-sans-fontface/open-sans.css',
        'css/prettify-theme.css',
        'css/docs.css',
        'css/animations.css'
      ]
    },
    {
      name: 'default',
      scripts: [
        'angular.min.js',
        'angular-resource.min.js',
        'angular-route.min.js',
        'angular-cookies.min.js',
        'angular-sanitize.min.js',
        'angular-touch.min.js',
        'angular-animate.min.js',
        'components/marked/lib/marked.js',
        'js/angular-bootstrap/bootstrap.js',
        'js/angular-bootstrap/bootstrap-prettify.js',
        'components/lunr.js/lunr.min.js',
        'components/google-code-prettify/src/prettify.js',
        'components/google-code-prettify/src/lang-css.js',
        'js/versions-data.js',
        'js/pages-data.js',
        'js/docs.js'
      ],
      stylesheets: [
        'css/bootstrap/css/bootstrap.css',
        'components/open-sans-fontface/open-sans.css',
        'css/prettify-theme.css',
        'css/docs.css',
        'css/animations.css'
      ]
    }]
  });

  return config;
};
{'fraction_non_alphanumeric': 0.17657565705537126, 'fraction_numerical': 0.0, 'mean_word_length': 2.423580786026201, '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': '2197237', 'n_tokens_mistral': 1326, 'n_tokens_neox': 1300, 'n_words': 148}