Clean up justfile

This commit is contained in:
sepia 2025-07-24 15:08:35 -05:00
parent 0521400607
commit 419904fb3c
2 changed files with 9 additions and 19 deletions

9
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,9 @@
repos:
- repo: local
hooks:
- id: just-format
name: just format
entry: just format
language: system
types: [file]
files: "\\.(ts|tsx|js|jsx|json|css|scss|html|md)$"

View File

@ -1,40 +1,21 @@
# justfile for Elysia project
# Install dependencies
install:
bun install
# Run the development server
dev:
bun run --watch src/index.ts
# Build the project
build:
bun build --compile --minify --target bun --outfile server ./src/index.ts
# Run tests
test:
bun test
check:
bunx tsc --noEmit --skipLibCheck
# Lint the project
lint:
# Add your lint command here, for example:
# bun run lint
echo "Linting not configured yet"
# Clean the project
clean:
rm -rf node_modules
rm -rf dist
# Format the code
format:
bun run prettier . --write
# Bump version
bump-version:
# Add your version bump command here
echo "Version bump not configured yet"