<commit_before>"use strict";

const isThere = require("is-there");

module.exports = {
    author: "<NAME> <<EMAIL>> (http://ionicabizau.net)"
  , license: "MIT"
  , main: val => {
        if (isThere(val)) {
            return val;
        } else {
            console.log(`Warn: ${val} was not found. Using lib/index.js`);
        }
        return "lib/index.js"
    }
  , repository: {
        type: "git",
        url: (val, data) => val || `git+ssh://git@github.com/IonicaBizau/${data.name}.git`
    }
  , bugs: {
        url: (val, data) => val || `https://github.com/IonicaBizau/${data.name}/issues`
    }
  , homepage: (val, data) => val || `https://github.com/IonicaBizau/${data.name}#readme`
};<commit_msg>Fix #25. Whitelist the npm files.<commit_after>"use strict";

const isThere = require("is-there");

module.exports = {
    author: "<NAME> <<EMAIL>> (http://ionicabizau.net)"
  , license: "MIT"
  , files: [
        "bin/"
      , "app/"
      , "lib/"
      , "dist/"
      , "src/"
      , "resources/"
      , "menu/"
      , "cli.js"
      , "index.js"
    ]
  , main: val => {
        if (isThere(val)) {
            return val;
        } else {
            console.log(`Warn: ${val} was not found. Using lib/index.js`);
        }
        return "lib/index.js"
    }
  , repository: {
        type: "git",
        url: (val, data) => val || `git+ssh://git@github.com/IonicaBizau/${data.name}.git`
    }
  , bugs: {
        url: (val, data) => val || `https://github.com/IonicaBizau/${data.name}/issues`
    }
  , homepage: (val, data) => val || `https://github.com/IonicaBizau/${data.name}#readme`
};
{'fraction_non_alphanumeric': 0.2074074074074074, 'fraction_numerical': 0.0012345679012345679, 'mean_word_length': 2.1053639846743293, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1403735', 'n_tokens_mistral': 594, 'n_tokens_neox': 588, 'n_words': 109}