From 9f0b415a2e4fc6291fa18ccc9e2dd975db8f604e Mon Sep 17 00:00:00 2001 From: jonambas Date: Fri, 5 Apr 2024 18:31:31 -0400 Subject: [PATCH] chore: add typecheck command --- package.json | 1 + tsconfig.json | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 32d2cfa..54daf06 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "sideEffects": false, "scripts": { "build": "tsup", + "typecheck": "tsc -p tsconfig.json --noEmit", "test": "vitest", "test:ci": "vitest run --coverage --reporter=basic" }, diff --git a/tsconfig.json b/tsconfig.json index f717009..309ba52 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,8 +5,9 @@ "moduleResolution": "Bundler", "outDir": "dist", "strict": true, - "esModuleInterop": true + "esModuleInterop": true, + "skipLibCheck": true }, "include": ["src/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/__tests__/**"] }