Skip to content

Commit 38a0a1f

Browse files
committed
TS config
1 parent bb1454a commit 38a0a1f

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

screenshots/chat.png

582 Bytes
Loading

tsconfig.json renamed to src/tsconfig.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@
33
"target": "ES2020",
44
"module": "ES2020",
55
"moduleResolution": "node",
6-
"outDir": "./dist",
7-
"rootDir": "./src",
6+
"outDir": "../dist",
7+
"rootDir": ".",
88
"strict": true,
99
"esModuleInterop": true,
1010
"skipLibCheck": true,
1111
"forceConsistentCasingInFileNames": true,
1212
"resolveJsonModule": true,
13-
"declaration": true,
14-
"types": ["node"]
13+
"declaration": true
1514
},
16-
"include": ["src/**/*", "test/**/*"],
17-
"exclude": ["node_modules", "dist"]
15+
"include": ["./**/*"],
16+
"exclude": ["node_modules"]
1817
}

test/tsconfig.json

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

0 commit comments

Comments
 (0)