Update engines in package.json to bun, switch all justfile recipes from npm to bun, add scripts/deploy.sh for production deployment.
32 lines
522 B
Makefile
32 lines
522 B
Makefile
# Start development server
|
|
dev:
|
|
bun run dev
|
|
|
|
# Build for production (with type-check and .htaccess copy)
|
|
build:
|
|
bun run build
|
|
|
|
# Preview production build locally
|
|
preview:
|
|
bun run preview
|
|
|
|
# Build without type-checking
|
|
build-only *args:
|
|
bun run build-only -- {{args}}
|
|
|
|
# Type-check with vue-tsc
|
|
type-check:
|
|
bun run type-check
|
|
|
|
# Lint and auto-fix
|
|
lint:
|
|
bun run lint
|
|
|
|
# Format source files with Prettier
|
|
format:
|
|
bun run format
|
|
|
|
# Deploy using the deploy script
|
|
deploy:
|
|
bash scripts/deploy.sh
|