Skip to content

Commit

Permalink
chore: add typecheck command
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Apr 5, 2024
1 parent 068c212 commit 9f0b415
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"sideEffects": false,
"scripts": {
"build": "tsup",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest",
"test:ci": "vitest run --coverage --reporter=basic"
},
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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__/**"]
}

0 comments on commit 9f0b415

Please sign in to comment.