Skip to content

Commit 9a36388

Browse files
Ankit098francisf
authored andcommitted
add: tsconfig files
1 parent c4a9d63 commit 9a36388

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

tsconfig.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "./tsconfig.prod.json",
3+
"compilerOptions": {
4+
"baseUrl": ".",
5+
"outDir": "./build",
6+
"rootDir": "./src",
7+
"inlineSourceMap": true
8+
},
9+
"include": [
10+
"src/**/*",
11+
"../../@types"
12+
]
13+
}

tsconfig.prod.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"extends": "@tsconfig/node12/tsconfig.json",
3+
4+
"compilerOptions": {
5+
"allowJs": true,
6+
"declaration": true,
7+
"declarationMap": true,
8+
"resolveJsonModule": true,
9+
"removeComments": false,
10+
"strictFunctionTypes": false,
11+
"esModuleInterop": true,
12+
"lib": ["dom", "es2019"],
13+
"types": [
14+
"node"
15+
],
16+
"baseUrl": ".",
17+
"outDir": "./build",
18+
"rootDir": "./src"
19+
},
20+
21+
"include": [
22+
"src/**/*",
23+
"../../@types"
24+
],
25+
26+
"exclude": [
27+
"node_modules",
28+
"coverage",
29+
]
30+
}

0 commit comments

Comments
 (0)