Skip to content

Commit

Permalink
Merge pull request #15 from krutoo/13-defaults-argument
Browse files Browse the repository at this point in the history
Fix of building package
  • Loading branch information
krutoo authored Sep 2, 2021
2 parents 2c759fc + d6e3bf0 commit 86336bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"lint": "eslint ./src",
"test": "jest",
"build": "rimraf dist && tsc -p .",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"type-check": "tsc -p . --noEmit",
"example:start": "cd example && npm run start"
},
Expand Down
8 changes: 8 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
},
"include": ["./src/"],
"exclude": ["node_modules", "src/**/*.test.ts", "src/mocks/**/*"]
}

0 comments on commit 86336bc

Please sign in to comment.