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__/**"] }