-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 757 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 757 Bytes
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
28
29
30
31
32
33
.PHONY: help install serve build clean lint format format-check
# Default target
help:
@echo "Available commands:"
@echo " make install - Install dependencies (npm install)"
@echo " make serve - Start development server (npm run dev)"
@echo " make build - Build the project (npm run build)"
@echo " make lint - Run linter (npm run lint)"
@echo " make format - Format code with Prettier"
@echo " make format-check - Check formatting with Prettier (dry run)"
@echo " make clean - Remove build artifacts (npm run clean)"
install:
npm install
serve:
npm run dev
build:
npm run build
lint:
npm run lint
format:
npx prettier --write .
format-check:
npx prettier --check .
clean:
npm run clean