Add type checking and testing to check command

This commit is contained in:
Jared Miller 2026-01-27 21:00:07 -05:00
parent 5b9931c585
commit 100cd67823
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C
2 changed files with 3 additions and 5 deletions

View file

@ -8,10 +8,7 @@ start:
bun run start bun run start
check: check:
bun run check bun run lint && bun run typecheck && bun run test
fix:
bun run fix
build: build:
docker build -t collabd . docker build -t collabd .

View file

@ -3,10 +3,11 @@
"version": "0.1.0", "version": "0.1.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"lint": "bunx biome check --write .",
"dev": "bun run --watch src/index.ts", "dev": "bun run --watch src/index.ts",
"start": "bun run src/index.ts", "start": "bun run src/index.ts",
"test": "bun test", "test": "bun test",
"check": "biome check --write ." "typecheck": "bunx tsc"
}, },
"dependencies": { "dependencies": {
"lib0": "^0.2.117", "lib0": "^0.2.117",