Skip to content

Commit

Permalink
Add typecheck command
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Aug 11, 2023
1 parent 71db2b3 commit 5e8f8e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"scripts": {
"test": "yarn",
"format": "pnpm prettier --write .",
"format:check": "pnpm prettier --check ."
"format:check": "pnpm prettier --check .",
"typecheck": "tsc --noEmit -p tsconfig.json"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.2",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": "@tsconfig/recommended/tsconfig.json"
"extends": "@tsconfig/recommended/tsconfig.json",
"include": ["lib"]
}

0 comments on commit 5e8f8e3

Please sign in to comment.