Skip to content

Commit

Permalink
Remove mocha, chai, ts-node, sinon, nyc. Upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Nov 10, 2024
1 parent 428d834 commit 232daf5
Show file tree
Hide file tree
Showing 4 changed files with 1,279 additions and 6,186 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SOURCE_FILES:=$(shell find src/ -type f -name '*.ts')
TEST_FILES:=$(shell find test/ -type f -name '*.ts')

.PHONY:all
all: build
Expand All @@ -8,18 +9,18 @@ build: dist/build

.PHONY:test
test:
npx nyc mocha
npx tsx --test ${TEST_FILES}

.PHONY:lint
lint:
npx eslint --quiet 'src/**/*.ts' 'test/**/*.ts'
npx eslint --quiet

.PHONY:lint-fix
lint-fix: fix

.PHONY:fix
fix:
npx eslint --quiet 'src/**/*.ts' 'test/**/*.ts' --fix
npx eslint --quiet --fix

.PHONY:watch
watch:
Expand Down
Loading

0 comments on commit 232daf5

Please sign in to comment.