aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 15 insertions, 1 deletions
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