Port to TypeScript/Elysia
This commit is contained in:
parent
29739d243f
commit
513335c485
17 changed files with 413 additions and 2603 deletions
25
justfile
Normal file
25
justfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
install:
|
||||
bun install
|
||||
|
||||
dev:
|
||||
bun run --watch src/index.tsx
|
||||
|
||||
build:
|
||||
bun build --compile --minify --target bun --outfile ./target/sepiatones_xyz ./src/index.tsx
|
||||
|
||||
deploy: build
|
||||
rsync -avz target/sepiatones_xyz sepiatonesxyz:~/sepiatones_xyz/sepiatones_xyz
|
||||
rsync -avz --delete public/ sepiatonesxyz:~/sepiatones_xyz/public
|
||||
|
||||
test:
|
||||
bun test
|
||||
|
||||
check:
|
||||
bunx tsc --noEmit --skipLibCheck
|
||||
|
||||
clean:
|
||||
rm -rf node_modules
|
||||
rm -rf dist
|
||||
|
||||
format:
|
||||
bun run prettier . --write
|
||||
Loading…
Add table
Add a link
Reference in a new issue