<commit_before>module.exports = {
    // output config
    dist: {
        min: '~/square.{type}.{ext}'
      , dev: '~/square.{type}.{ext}'
    }

    // plugin configuration
  , plugin: {}

    // hinting and linting
  , jshint: require('./jshint')
  , csslint: require('./csshint')
};<commit_msg>Add package.json data as vars if it exists<commit_after>var path = require('path')
  , file = path.join(process.env.PWD, 'package.json')
  , pkg;

try { pkg = require(file); }
catch (e) { pkg = {}; }

module.exports = {
    // output config
    dist: {
        min: '~/square.{type}.{ext}'
      , dev: '~/square.{type}.{ext}'
    }

    // plugin configuration
  , plugin: {}

    // hinting and linting
  , jshint: require('./jshint')
  , csslint: require('./csshint')

    // add package.json if it exists
  , vars: pkg
};
{'fraction_non_alphanumeric': 0.19174757281553398, 'fraction_numerical': 0.0, 'mean_word_length': 2.4375, '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': '6135346', 'n_tokens_mistral': 301, 'n_tokens_neox': 285, 'n_words': 63}