Skip to content

Commit

Permalink
Merge pull request #96 from kjirou/ignore-__tests__-from-build
Browse files Browse the repository at this point in the history
Ignore __tests__ directories in "npm run build"
  • Loading branch information
kjirou authored Apr 7, 2024
2 parents bbdefe9 + 5a2bc3b commit b7c31fb
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 @@ -5,7 +5,7 @@
"main": "dist/src/index.js",
"types": "dist/src/index.d.js",
"scripts": {
"build": "tsc",
"build": "tsc --project tsconfig.build.json",
"build-and-publish": "rm -rf ./dist && npm run build && npm publish",
"develop": "npx tsx ./src/cli-runner.ts",
"prettier:check": "prettier --check .",
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.json",
"exclude": ["**/__tests__/**"]
}

0 comments on commit b7c31fb

Please sign in to comment.