From b1f2b39581c47f8b101d1222c8e0c3f7b2579047 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 5 Aug 2026 11:54:30 +0200 Subject: update project tooling --- Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c9b9bb0..c7cb071 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ dist/%.html: %.html %.css dist/%.js dist/%.js: $(wildcard src/*.js) npm run build:dev -.PHONY: mock dev prod +.PHONY: mock dev prod check lint check-format format mock: npm run build:mock scripts/update-env-srcs src/ mock @@ -23,3 +23,17 @@ prod: npm run build scripts/update-env-srcs src/ prod $(MAKE) $(SITES) + +check: check-types check-format lint + +check-types: + npm run types-check + +check-format: + npm run prettier-check + +lint: + npm run lint + +format: + npm run format -- cgit v1.2.3