<commit_before>export PATH := ./node_modules/.bin:${PATH}

.PHONY: build build-pages lint clean test

# Compile the API from the lib directory into dist/cf-widget-api.js and dist/cf-widget-api.css
build: styles
	@mkdir -p dist
	webpack
	@echo "Created 'dist/cf-widget-api-js'"

styles:
	@mkdir -p dist
	stylus \
		--use nib \
		--sourcemap \
		lib/style/index.styl \
		> dist/cf-widget-api.css
<commit_msg>fixup! Update style library to match new Contentful visuals<commit_after>export PATH := ./node_modules/.bin:${PATH}

.PHONY: build build-pages lint clean test

# Compile the API from the lib directory into dist/cf-widget-api.js and dist/cf-widget-api.css
build: styles
	@mkdir -p dist
	webpack
	@echo "Created 'dist/cf-widget-api-js'"

styles:
	@mkdir -p dist
	stylus \
		--use nib \
		--sourcemap \
		lib/style/index.styl \
		--out dist/cf-widget-api.css

{'fraction_non_alphanumeric': 0.13225058004640372, 'fraction_numerical': 0.0, 'mean_word_length': 3.209756097560976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6353541', 'n_tokens_mistral': 332, 'n_tokens_neox': 315, 'n_words': 87}