-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig-base.json
37 lines (37 loc) · 1.23 KB
/
tsconfig-base.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
37
{
"compilerOptions": {
"lib": ["dom"],
"moduleResolution": "NodeNext",
// Lets you set a base directory to resolve non-absolute module names.
// use if you are tired using '../../' if your modules nested deep
"baseUrl": ".",
"rootDir": "src",
"paths": {
"@generatorjs": ["./src/generatorjs/index.js"],
"@generator": ["./src/index.js"],
"@test/*": ["./test/*"],
"@utils": ["./src/utils"],
"@dom": ["./src/dom/index.js"],
"@dom/*": ["./src/dom/*"],
"@errors": ["./src/errors/index.js"],
"types": ["./src/types/index.js"],
"types/*": ["./src/types/*"],
"@constants": ["./src/constants.js"]
},
"allowJs": true,
// "noEmit": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
// remove this after transition
"noImplicitAny": false,
"skipLibCheck": true,
"types": ["node", "jest"]
},
"exclude": ["node_modules", "dist"],
"include": ["src"],
"tsc-alias": {
// fixes adding .js extension for es6 modules
"resolveFullPaths": true
}
}