-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.temp.json
More file actions
60 lines (58 loc) · 1.97 KB
/
tsconfig.temp.json
File metadata and controls
60 lines (58 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"compilerOptions": {
"target": "ES2020", // Modern JavaScript features
"module": "ESNext", // Module system used by Node.js
"lib": ["ES2020"], // Library files to include in the compilation
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Allow default imports from modules with no default export
"skipLibCheck": true, // Skip type checking of declaration files (optional)
"forceConsistentCasingInFileNames": true, // Ensure consistent casing of filenames
"outDir": "./dist", // Output directory for compiled files
"rootDir": "./src", // Root directory of source files
"resolveJsonModule": true, // Allow importing JSON modules
"moduleResolution": "node", // Module resolution strategy
"baseUrl": ".", // Base directory to resolve non-relative module names
"paths": {
"*": ["node_modules/*"] // Path mappings
}
},
"include": [
"src/**/*.ts" // Include all TypeScript files in the src directory
],
"exclude": [
"node_modules", // Exclude node_modules directory
"**/*.test.ts" // Exclude test files if any
]
}
// {
// "compilerOptions": {
// "target": "es6",
// "lib": [
// "es6",
// "dom"
// ],
// "rootDir": "./src",
// "outDir": "./.ts-node",
// "module": "ESNext",
// "moduleResolution": "node",
// "strict": true,
// "declaration": false,
// "sourceMap": true,
// "inlineSources": true,
// "types": [
// "node"
// ],
// "stripInternal": true,
// "incremental": true,
// "skipLibCheck": true,
// "importsNotUsedAsValues": "error",
// "inlineSourceMap": false,
// "noEmit": false
// },
// "ts-node": {
// "cwd": "/",
// "projectSearchDir": "/",
// "require": [],
// "project": "/tssconfig.temp.json"
// }
// }