From f1c1d3ec92ec1abf9093ccd823a77ede2b982eae Mon Sep 17 00:00:00 2001 From: Alexander Zinn Date: Sun, 7 Dec 2025 04:41:11 -0500 Subject: [PATCH] Update bunfig.toml to set test timeout and add type checking scripts to package.json --- bunfig.toml | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bunfig.toml b/bunfig.toml index 5ff8379..56d595b 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -5,4 +5,4 @@ save = false "@techniker-me" = "https://registry-node.techniker.me" [test] -preload = ["./test/setup.ts"] +timeout = 5000 diff --git a/package.json b/package.json index 33be845..bf9fc96 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ "prelint:fix": "bun format", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", + "postlint:fix": "bun run typecheck", + "postlint": "bun run typecheck", + "typecheck": "tsc --noEmit", "build:node": "bun build src/index.ts --outdir dist/node --target node --format esm --production", "build:browser": "bun build src/index.ts --outdir dist/browser --target browser --format esm --production", "build:types": "tsc --emitDeclarationOnly --outDir dist/types",