<commit_before>
.PHONY:
dist:
	mkdir -p dist
	rm dist/* -Rf 
	cp lib/markdownit-directive.js dist/ng-markdownit.js
	node_modules/.bin/uglifyjs -c -m --screw-ie8 --source-map dist/ng-markdownit.min.js.map --source-map-url ng-markdownit.min.js.map -o dist/ng-markdownit.min.js lib/markdownit-directive.js

<commit_msg>fix(build): run tests before building dist-artifacts<commit_after>
.PHONY: clean dist

clean:
	rm dist -Rf && rm coverage -Rf

dist: clean
	npm run-script test-cov
	mkdir -p dist
	node_modules/.bin/uglifyjs -b=indent_level=2,quote_style=1,max_line_len=120 --screw-ie8 -o dist/ng-markdownit.js lib/markdownit-directive.js
	node_modules/.bin/uglifyjs -c -m --screw-ie8 --source-map dist/ng-markdownit.min.js.map --source-map-url ng-markdownit.min.js.map -o dist/ng-markdownit.min.js lib/markdownit-directive.js


{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.009685230024213076, 'mean_word_length': 3.7257142857142855, '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': '6447667', 'n_tokens_mistral': 347, 'n_tokens_neox': 327, 'n_words': 64}