Skip to content

Commit 86336bc

Browse files
authored
Merge pull request #15 from krutoo/13-defaults-argument
Fix of building package
2 parents 2c759fc + d6e3bf0 commit 86336bc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"lint": "eslint ./src",
1313
"test": "jest",
14-
"build": "rimraf dist && tsc -p .",
14+
"build": "rimraf dist && tsc -p tsconfig.build.json",
1515
"type-check": "tsc -p . --noEmit",
1616
"example:start": "cd example && npm run start"
1717
},

tsconfig.build.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src"
5+
},
6+
"include": ["./src/"],
7+
"exclude": ["node_modules", "src/**/*.test.ts", "src/mocks/**/*"]
8+
}

0 commit comments

Comments
 (0)