Skip to content

Commit

Permalink
feat: no include tests in build (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvandercar-vt authored May 14, 2024
1 parent 13987d2 commit c36ce82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "lib/spoof.d.ts",
"scripts": {
"prepare": "husky && yarn lint && yarn build",
"build": "tsc",
"build": "tsc -p tsconfig.build.json",
"lint": "yarn ts-standard --fix",
"test": "jest"
},
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig",
"exclude": ["node_modules", "**/__test__/**/*"]
}

0 comments on commit c36ce82

Please sign in to comment.