<commit_before>export PATH:=./node_modules/.bin/:$(PATH)

.PHONY: build
build: browser/ketting.min.js browser/mocha-tests.js tsbuild

.PHONY: clean
clean:
	-rm -r browser/
	-rm -r dist/

.PHONY: test
test: lint
	nyc mocha

.PHONY: test-debug
test-debug:
	mocha --inspect-brk

.PHONY: lint
lint:
	# tslint -c tslint.json --project tsconfig.json 'src/**/*.ts' 'test/**/*.ts'
	eslint ./

.PHONY: fix
fix:
	# tslint -c tslint.json --project tsconfig.json 'src/**/*.ts' 'test/**/*.ts' --fix
	eslint '*/**/*.ts' --quiet --fix

.PHONY: tsbuild
tsbuild:
	tsc

.PHONY: watch
watch:
	tsc --watch

.PHONY: browserbuild
browserbuild: tsbuild<commit_msg>removing tslint makefile rule<commit_after>export PATH:=./node_modules/.bin/:$(PATH)

.PHONY: build
build: browser/ketting.min.js browser/mocha-tests.js tsbuild

.PHONY: clean
clean:
	-rm -r browser/
	-rm -r dist/

.PHONY: test
test: lint
	nyc mocha

.PHONY: test-debug
test-debug:
	mocha --inspect-brk

.PHONY: lint
lint:
	eslint ./

.PHONY: fix
fix:
	eslint '*/**/*.ts' --quiet --fix

.PHONY: tsbuild
tsbuild:
	tsc

.PHONY: watch
watch:
	tsc --watch

.PHONY: browserbuild
browserbuild: tsbuild
{'fraction_non_alphanumeric': 0.17253521126760563, 'fraction_numerical': 0.0, 'mean_word_length': 3.2267657992565058, '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': '4339905', 'n_tokens_mistral': 518, 'n_tokens_neox': 501, 'n_words': 121}