<commit_before>/* eslint no-shadow: 0, func-names: 0, no-unused-vars: 0, no-console: 0 */
var os = require('os');
var webpack = require('webpack');
var cfg = require('./webpack.config.production.js');
var packager = require('electron-packager');
var assign = require('object-assign');
var del = require('del');
var exec = require('child_process').exec;
var argv = require('minimist')(process.argv.slice(2));
var devDeps = Object.keys(require('./package.json').devDependencies);


var appName = argv.name || argv.n || 'FromScratch';
var shouldUseAsar = argv.asar || argv.a || true;
var shouldBuildAll = argv.all || false;


var DEFAULT_OPTS = {
  dir: './',
  name: appName,
  'version-string': {
    FileDescription: appName,
  },
  asar: shouldUseAsar,
  ignore: [
    '/README.md',
    '/server.js',
    '/webpack.*',
    '/app/mainApp.jsx',
    '/app/containers($|/)',
    '/app/assets/style($|/)',
    '/build($|/)',
    '/test($|/)',
    '/tools($|/)',
    '/release($|/)'
  ].concat(devDeps.map(function(name) { return '/node_modules/' + name + '($|/)'; }))<commit_msg>Updated electron-packager parameter to non-deprecated<commit_after>/* eslint no-shadow: 0, func-names: 0, no-unused-vars: 0, no-console: 0 */
var os = require('os');
var webpack = require('webpack');
var cfg = require('./webpack.config.production.js');
var packager = require('electron-packager');
var assign = require('object-assign');
var del = require('del');
var exec = require('child_process').exec;
var argv = require('minimist')(process.argv.slice(2));
var devDeps = Object.keys(require('./package.json').devDependencies);


var appName = argv.name || argv.n || 'FromScratch';
var shouldUseAsar = argv.asar || argv.a || true;
var shouldBuildAll = argv.all || false;


var DEFAULT_OPTS = {
  dir: './',
  name: appName,
  win32metadata: {
    FileDescription: appName,
    ProductName: appName
  },
  asar: shouldUseAsar,
  ignore: [
    '/README.md',
    '/server.js',
    '/webpack.*',
    '/app/mainApp.jsx',
    '/app/containers($|/)',
    '/app/assets/style($|/)',
    '/build($|/)',
    '/test($|/)',
    '/tools($|/)',
    '/release($|/)'
  ].concat(devDeps.map(function(name) { return '/node_modules/' + name + '($|/)'; }))
{'fraction_non_alphanumeric': 0.2197106690777577, 'fraction_numerical': 0.0054249547920434, 'mean_word_length': 3.79004329004329, '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': '1109722', 'n_tokens_mistral': 779, 'n_tokens_neox': 765, 'n_words': 158}