-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
53 lines (49 loc) · 2 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"compilerOptions": {
/* Language and Environment */
"target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
/* Modules */
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"declarationDir": "./cjs/types",
"emitDeclarationOnly": true /* Emit only declaration files. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"declaration": true,
// "moduleResolution": "Node" /* Determine how modules get resolved. */,
// "module": "ESNext" /* Specify what module code is generated. */,
"isolatedModules": true,
"experimentalDecorators": true,
"module": "node16",
"moduleResolution": "node16",
/* Type Checking */
"allowImportingTsExtensions": true,
"noUncheckedIndexedAccess": true /* Add 'undefined' to a type when accessed using an index. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"allowJs": true,
"jsx": "react",
// "strict":true /* Enable all strict type-checking options. */,
"baseUrl": ".",
"paths": {
"@classes": ["./src/classes/index.ts"],
"@classes/*": ["./src/classes/*"],
"@types": ["./src/@types/index.ts"],
"@types*": ["./src/@types*"],
"@utils": ["./src/utils/index.ts"],
"@utils*": ["./src/utils*"],
"@instances": ["./src/instances/index.ts"],
"@instances/*": ["./src/instances/*"],
// For testing - these will be package.json exports in prod
"console.mog/prefixes": ["./src/instances/prefixes/index.ts"],
"console.mog": ["./src/index.ts"]
}
},
"exclude": ["rollup.config.js", "node_modules/*", "cjs", "esm"],
"include": [
"node_modules/@iliad.dev/ts-utils/@types/**/*",
"src/@types/**/*",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.ts",
"test/**/*",
"src/**/*"
]
}