<commit_before># TODO(rictic): replace with gulp or broccoli or whatevs

set -e

babel lib/browser_main.js -o dist/browser_main.js
babel lib/element_mapping.js -o dist/element_mapping.js
babel lib/node_main.js -o dist/node_main.js
babel lib/upgrade_css.js -o dist/upgrade_css.js
babel lib/upgrade_html.js -o dist/upgrade_html.js
babel lib/upgrade_js.js -o dist/upgrade_js.js<commit_msg>update build script to use npm deps<commit_after># TODO(rictic): replace with gulp or broccoli or whatevs

set -e

./node_modules/.bin/babel lib/browser_main.js -o dist/browser_main.js
./node_modules/.bin/babel lib/element_mapping.js -o dist/element_mapping.js
./node_modules/.bin/babel lib/node_main.js -o dist/node_main.js
./node_modules/.bin/babel lib/upgrade_css.js -o dist/upgrade_css.js
./node_modules/.bin/babel lib/upgrade_html.js -o dist/upgrade_html.js
./node_modules/.bin/babel lib/upgrade_js.js -o dist/upgrade_js.js
{'fraction_non_alphanumeric': 0.11597374179431072, 'fraction_numerical': 0.0, 'mean_word_length': 4.350877192982456, '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': '5403773', 'n_tokens_mistral': 355, 'n_tokens_neox': 327, 'n_words': 75}