-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
17 lines (17 loc) · 885 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"compilerOptions": {
"target": "ES2020", // Specifies what version of ECMAScript the code should be compiled to.
"module": "NodeNext", // Specifies what module code should be generated.
"moduleResolution": "NodeNext", // Specifies how TypeScript should resolve module imports.
"outDir": "./backend/dist", // Redirect output structure to the directory.
"rootDir": "./backend",
"strict": true, // Enable all strict type-checking options.
"esModuleInterop": true, // This will allow you to use default imports with CommonJS modules.
"skipLibCheck": true // this option will skip type checking all .d.ts files.
},
"ts-node": {
"esm": true
},
"include": ["backend/src/**/*"], // Specifies which files to include when compiling your project.
"exclude": ["node_modules", "**/*.spec.ts", "frontend"] // Specifies which files to exclude when compiling your project.
}