Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit a5798f7

Browse files
committed
Fix tsconfig and build script
1 parent b6bb3f3 commit a5798f7

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

tsconfig.build.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"declaration": true,
5+
"inlineSources": true,
6+
"noEmit": false,
7+
"outDir": "dist",
8+
"rootDir": "src",
9+
"sourceMap": true
10+
},
11+
"include": ["./src/**/*.ts"],
12+
"exclude": ["./src/**/*.test.ts"]
13+
}

tsconfig.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"compilerOptions": {
3-
"declaration": true,
43
"esModuleInterop": true,
4+
"forceConsistentCasingInFileNames": true,
5+
"lib": ["ES2020"],
56
"module": "CommonJS",
67
"moduleResolution": "node",
7-
"outDir": "dist",
8-
"sourceMap": true,
8+
"noEmit": true,
9+
"skipLibCheck": true,
910
"strict": true,
10-
"target": "ES2017",
11+
"target": "es2017",
1112
"typeRoots": ["./node_modules/@types"]
1213
},
13-
"include": ["./src/*.ts"]
14+
"exclude": ["./dist/**/*"]
1415
}

0 commit comments

Comments
 (0)