initial commit
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
.PHONY: dev stop build install extract
|
||||
|
||||
PORT ?= 8000
|
||||
|
||||
dev:
|
||||
npx vite --port $(PORT) --host &
|
||||
@echo "Dev server running at http://localhost:$(PORT)"
|
||||
|
||||
stop:
|
||||
@-pkill -f "vite --port $(PORT)" 2>/dev/null && echo "Stopped dev server" || echo "No dev server running"
|
||||
|
||||
build:
|
||||
npm run build
|
||||
|
||||
install:
|
||||
npm install
|
||||
|
||||
extract:
|
||||
node scripts/extract-data.mjs
|
||||
Reference in New Issue
Block a user