diff --git a/package.json b/package.json index 7aa3578..45765bf 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..32eb805 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig", + "exclude": ["node_modules", "**/__test__/**/*"] + } \ No newline at end of file