generated from nhcarrigan/template
30 lines
585 B
Makefile
30 lines
585 B
Makefile
.PHONY: help install build lint test clean
|
|
|
|
help:
|
|
@echo "TypeScript project commands:"
|
|
@echo " make install - Install dependencies"
|
|
@echo " make build - Build TypeScript (type check)"
|
|
@echo " make lint - Run ESLint"
|
|
@echo " make test - Run tests"
|
|
@echo " make clean - Clean build artifacts"
|
|
|
|
install:
|
|
pnpm install --frozen-lockfile
|
|
|
|
build:
|
|
pnpm exec tsc --noEmit
|
|
|
|
lint:
|
|
pnpm exec eslint src --max-warnings 0
|
|
|
|
format:
|
|
pnpm exec eslint src --fix
|
|
|
|
test:
|
|
@echo "No tests configured yet"
|
|
@exit 0
|
|
|
|
clean:
|
|
rm -rf node_modules
|
|
rm -rf dist
|
|
rm -f *.tsbuildinfo
|