forked from dpim/wf-react-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
36 lines (33 loc) · 1.65 KB
/
tsconfig.json
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
{
"compilerOptions": {
/* Basic Options */
"target": "es5", // Specify ECMAScript target version
"module": "commonjs",
"jsx": "react", // Specify module code generation
"lib": ["dom", "es2017", "dom.iterable", "scripthost"], // Specify library files to be included in the compilation
"allowJs": true, // Allow JavaScript files to be compiled
"outDir": "./dist", // Redirect output structure to the directory
"rootDir": "./src", // Specify the root directory of input files
"removeComments": true, // Do not emit comments to output
"strict": true, // Enable all strict type-checking options
"typeRoots": ["./node_modules/@types", "./node_modules/@webflow/designer-extension-typings"],
"types":["index.d.ts"],
/* Module Resolution Options */
"moduleResolution": "node", // Resolve modules using Node.js style
"baseUrl": "./", // Base directory to resolve non-relative module names
"paths": { "*": ["node_modules/*"] }, // A series of entries which re-map imports to lookup locations
"esModuleInterop": true, // Enables emit interoperability between CommonJS and ES Modules
"resolveJsonModule": true, // Include modules imported with .json extension
/* Advanced Options */
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true // Disallow inconsistently-cased references to the same file
},
"include": [
"src/**/*", // Include all files in the src directory
"node_modules/@webflow/designer-extension-typings/**/*.d.ts"
],
"exclude": [
"node_modules", // Exclude the node_modules directory
"**/*.spec.ts" // Exclude test files
]
}