-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtsconfig.json
More file actions
51 lines (51 loc) · 2.24 KB
/
Copy pathtsconfig.json
File metadata and controls
51 lines (51 loc) · 2.24 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
{
"compilerOptions": {
"baseUrl": ".",
"moduleResolution": "node", // enable import syntax
"outDir": "./hat/assets/ts", // path to output directory (tsc compiler)
"sourceMap": true, // enable sourcemap support
"strictNullChecks": true, // enable strict null checks as a best practice
"module": "commonJS", // specify module code generation
"jsx": "react", // use typescript to transpile jsx to js
"target": "es2020", // specify ECMAScript target version
"allowJs": true, // allow a mixed TypeScript and JavaScript codebase
"checkJs": false, // don't use ts-lint on js files
"allowSyntheticDefaultImports": true, // allow import syntax with default exports (1/2)
"esModuleInterop": true, // allow import syntax with default exports (2/2)
"skipLibCheck": true, // don't typecheck dependencies
"noEmit": true, // don't emit files as babel will do it
"strict": true,
"lib": ["ES2023", "DOM"], // prevent some linter errors
"resolveJsonModule": true, // enable import from json
"paths": {
"Iaso/*": ["hat/assets/js/apps/Iaso/*"],
"IasoModules/plugins/configs": [
"hat/assets/js/apps/Iaso/bundle/generated/combinedPluginConfigs.js"
],
"IasoModules/plugins/keys": [
"hat/assets/js/apps/Iaso/bundle/generated/pluginKeys.js"
],
"IasoModules/translations/configs": [
"hat/assets/js/apps/Iaso/bundle/generated/combinedTranslations.js"
],
"IasoModules/language/configs": [
"hat/assets/js/apps/Iaso/bundle/generated/languageConfigs.js"
]
},
"types": ["vitest/globals", "@testing-library/jest-dom", "playwright", "node"]
},
"exclude": ["node_modules"],
"include": [
"assets/js/apps/Iaso/**/*",
"assets/js/apps/Iaso/*",
"hat/assets/js/orval/**/*",
"hat/assets/js/orval/*",
"hat/assets/js/apps/Iaso/**/*",
"hat/assets/js/apps/Iaso/*",
"hat/assets/js/*.tsx",
"plugins/**/js/**/*",
"hat/assets/js/__tests__/**/*",
"hat/assets/js/tests/*",
"hat/assets/js/tests/**/*"
]
}