forked from payloadcms/payload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
51 lines (51 loc) · 1.8 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
{
"compilerOptions": {
"target": "es2019",
"sourceMap": true,
"module": "commonjs",
"allowJs": true, /* Allow javascript files to be compiled. */
"checkJs": false, /* Report errors in .js files. */
"jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
/* Concatenate and emit output to single file. */
"outDir": "./dist", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
/* Do not emit comments to output. */
"noEmit": false, /* Do not emit outputs. */
"strict": false, /* Enable all strict type-checking options. */
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"paths": {
"payload/generated-types": [
"./src/generated-types.ts",
],
"payload/config": [
"./src/config/types.ts"
],
"payload/auth": [
"./src/auth/types.ts"
],
"payload/types": [
"./src/types/index.ts",
],
},
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"resolveJsonModule": true,
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
},
"ts-node": {
"swc": true,
},
"include": [
"src/"
],
"exclude": [
"dist",
"build",
"tests",
"**/*.spec.js",
"**/*.spec.ts",
"node_modules",
".eslintrc.js"
]
}