<commit_before>'use strict';

const {run, series} = require('madrun');

module.exports = {
    'start': () => 'bin/dword.js package.json',
    'start:dev': () => `NODE_ENV=development ${run('start')}`,
    'lint': () => series(['putout', 'lint:*']),
    'lint:bin': () => 'eslint --rule \'no-console:0\' bin',
    'lint:client': () => 'eslint --env browser --rule \'no-console:0\' client',
    'lint:server': () => 'eslint server madrun.js',
    'putout': () => 'putout bin client server madrun.js',
    'fix:lint': () => series(['putout', 'lint:*'], '--fix'),
    'build-progress': () => 'webpack --progress',
    'build:client': () => run('build-progress', '--mode production'),
    'build:client:dev': () => `NODE_ENV=development ${run('build-progress')} --mode development`,
    'build:start': () => run('build:client start'),
    'build:start:dev': () => series(['build:client:dev', 'start:dev']),
    'cp:codemirror:modules': () => 'cp -r node_modules/codemirror modules/',
    'build-progress:codemirror': () => 'webpack --progress --config ./webpack.config.codemirror.js',
    'build:codemirror:dev': () => `NODE_ENV=development ${run('build-progress:codemirror')} --mode development`,
    'build:codemirror': () => run('build-progress:codemirror', '--mode production'),
    'watch:server': () => run('watch' , run('start')),
    'watch:client': () => run('watch', run('build:client:dev')),
    'watch': () => 'nodemon -w server -w client -x',
    'build': () => series(['build:client*', 'build:codemirror*', 'cp:codemirror:*']),
    'wisdom': () => run('build'),
    'rm:dist': () => 'rimraf dist',
    'rm:dist-dev': () => 'rimraf dist-dev',
};
<commit_msg>chore(madrun) lint<commit_after>'use strict';

const {run} = require('madrun');

module.exports = {
    'start': () => 'bin/dword.js package.json',
    'start:dev': () => `NODE_ENV=development ${run('start')}`,
    'lint': () => run(['putout', 'lint:*']),
    'lint:bin': () => 'eslint --rule \'no-console:0\' bin',
    'lint:client': () => 'eslint --env browser --rule \'no-console:0\' client',
    'lint:server': () => 'eslint server madrun.js',
    'putout': () => 'putout bin client server madrun.js',
    'fix:lint': () => run(['putout', 'lint:*'], '--fix'),
    'build-progress': () => 'webpack --progress',
    'build:client': () => run('build-progress', '--mode production'),
    'build:client:dev': () => `NODE_ENV=development ${run('build-progress')} --mode development`,
    'build:start': () => run('build:client start'),
    'build:start:dev': () => run(['build:client:dev', 'start:dev']),
    'cp:codemirror:modules': () => 'cp -r node_modules/codemirror modules/',
    'build-progress:codemirror': () => 'webpack --progress --config ./webpack.config.codemirror.js',
    'build:codemirror:dev': () => `NODE_ENV=development ${run('build-progress:codemirror')} --mode development`,
    'build:codemirror': () => run('build-progress:codemirror', '--mode production'),
    'watch:server': () => run('watch' , run('start')),
    'watch:client': () => run('watch', run('build:client:dev')),
    'watch': () => 'nodemon -w server -w client -x',
    'build': () => run(['build:client*', 'build:codemirror*', 'cp:codemirror:*']),
    'wisdom': () => run('build'),
    'rm:dist': () => 'rimraf dist',
    'rm:dist-dev': () => 'rimraf dist-dev',
};

{'fraction_non_alphanumeric': 0.2678517625790901, 'fraction_numerical': 0.0012051822838204278, 'mean_word_length': 4.3808752025931925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 51, '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': '4903728', 'n_tokens_mistral': 1152, 'n_tokens_neox': 1145, 'n_words': 208}