Add type checking and testing to check command
This commit is contained in:
parent
5b9931c585
commit
100cd67823
2 changed files with 3 additions and 5 deletions
5
justfile
5
justfile
|
|
@ -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 .
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue