-
-
Notifications
You must be signed in to change notification settings - Fork 183
/
Makefile
27 lines (19 loc) · 693 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.DEFAULT_GOAL := help
.PHONY: help
help: ## Show help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install: ## Install necessary dependencies
npm install
watch: ## Watches for file changes and update the page automatically, similar to running `npm run build:esbuild` every time
npm run watch:esbuild
build: ## Builds the project
npm run build:esbuild
check: ## Typecheck all TypeScript files
npm run check:tsc
lintall: ## Lint the code and the CSS
npm run lint
npm run csslint
lintcode: ## Lint just the code
npm run lint
lintcss: ## Lint just the CSS
npm run csslint