<commit_before>rm -rf node_modules
npm i

echo "Browserifying..."
./node_modules/.bin/browserify --node -s BloggifyServer lib/index.js -o dist/bloggify.js --exclude lien

echo "Replacing octals."
#sed -i -- 's/ 0777 / 0o777 /g' dist/bloggify.js

echo "Babelfiying."
./node_modules/.bin/babel dist/bloggify.js -o dist/bloggify.js

echo "Uglifying..."
./node_modules/.bin/uglifyjs dist/bloggify.js -c -m -o dist/bloggify.js

ship-release bump
ship-release publish -d 'Rebuild.'
<commit_msg>Exclude few modules<commit_after>rm -rf node_modules
npm i

echo "Browserifying..."
./node_modules/.bin/browserify --node -s BloggifyServer lib/index.js -o dist/bloggify.js --exclude lien --exclude sugarss --exclude pkg-resolve --exclude fsevents

echo "Babelfiying."
./node_modules/.bin/babel dist/bloggify.js -o dist/bloggify.js

echo "Uglifying..."
./node_modules/.bin/uglifyjs dist/bloggify.js -c -m -o dist/bloggify.js

ship-release bump
ship-release publish -d 'Rebuild.'

{'fraction_non_alphanumeric': 0.14596273291925466, 'fraction_numerical': 0.008281573498964804, 'mean_word_length': 3.4768518518518516, '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': '5114147', 'n_tokens_mistral': 376, 'n_tokens_neox': 353, 'n_words': 90}