diff --git a/Makefile b/Makefile index 8c76a78..6665827 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ .PHONY: all all: dist/index.html -dist/index.html: test src/index.html src/*/*.ts package*.json src/*/tsconfig.json .parcelrc +dist/index.html: lint src/index.html src/*/*.ts package*.json src/*/tsconfig.json .parcelrc npx parcel build -.PHONY: test -test: +.PHONY: lint +lint: cd src/js && npx tsc --noEmit cd src/sw && npx tsc --noEmit npx eslint src/*/*.ts diff --git a/README.md b/README.md index 15be870..117574e 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Development Environment - GNU `make` - Run `make installdeps` to install the dependencies via `npm` - Or [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/haukex/de-en-dict) -- Run `make clean all` for a full rebuild with tests +- Run `make clean all` for a full rebuild with linting - Run `npm start` to start up the local development server (with live refresh) Thanks