33 lines
457 B
Makefile
33 lines
457 B
Makefile
.PHONY: help install dev build preview check lint format clean
|
|
|
|
help:
|
|
@echo 'Usage: make [target]'
|
|
@echo ''
|
|
@echo 'Available targets:'
|
|
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-15s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
|
|
|
install:
|
|
npm install
|
|
|
|
dev:
|
|
npm run dev
|
|
|
|
build:
|
|
npm run build
|
|
|
|
preview:
|
|
npm run preview
|
|
|
|
check:
|
|
npm run check
|
|
|
|
lint:
|
|
npm run lint
|
|
|
|
format:
|
|
npm run format
|
|
|
|
clean:
|
|
rm -rf .svelte-kit build node_modules/.vite
|
|
|