-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtsconfig.json
More file actions
213 lines (180 loc) · 6.26 KB
/
tsconfig.json
File metadata and controls
213 lines (180 loc) · 6.26 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
/**
* Instructs the TypeScript compiler how to compile the .ts files.
* @see https://www.typescriptlang.org/tsconfig#compilerOptions
*/
"compilerOptions": {
/**
* Allow importing files with a TypeScript-specific extension (.ts, .tsx, etc.).
* @see https://www.typescriptlang.org/tsconfig#allowImportingTsExtensions
*/
"allowImportingTsExtensions": false,
/**
* Disable error reporting for unreachable code.
* @see https://www.typescriptlang.org/tsconfig#allowUnreachableCode
*/
"allowUnreachableCode": false,
/**
* Disable error reporting for unused labels.
* @see https://www.typescriptlang.org/tsconfig#allowUnusedLabels
*/
"allowUnusedLabels": false,
/**
* Base directory to resolve non-relative module names.
* @see https://www.typescriptlang.org/tsconfig#baseUrl
*/
"baseUrl": "src",
/**
* Enable project compilation.
* @see https://www.typescriptlang.org/tsconfig#composite
*/
"composite": true,
/**
* Generate .d.ts files from TypeScript and JavaScript files in your project.
* @see https://www.typescriptlang.org/tsconfig#declaration
*/
"declaration": true,
/**
* Create sourcemaps for d.ts files.
* @see https://www.typescriptlang.org/tsconfig#declarationMap
*/
"declarationMap": true,
/**
* Emit design-type metadata for decorated declarations in source files.
* @see https://www.typescriptlang.org/tsconfig#emitDecoratorMetadata
*/
"emitDecoratorMetadata": true,
/**
* Emit additional JavaScript to ease support for importing CommonJS modules.
* @see https://www.typescriptlang.org/tsconfig#esModuleInterop
*/
"esModuleInterop": true,
/**
* Enable experimental support for legacy experimental decorators.
* @see https://www.typescriptlang.org/tsconfig#experimentalDecorators
*/
"experimentalDecorators": true,
/**
* Ensure that the casing is correct in imports.
* @see https://www.typescriptlang.org/tsconfig#forceConsistentCasingInFileNames
*/
"forceConsistentCasingInFileNames": true,
/**
* Ensure each file can be safely transpiled without relying on other imports.
* @see https://www.typescriptlang.org/tsconfig#isolatedModules
*/
"isolatedModules": false,
/**
* List of library files to be included in the compilation.
* @see https://www.typescriptlang.org/tsconfig#lib
*/
"lib": ["ESNext"],
/**
* Specify what module code is generated.
* @see https://www.typescriptlang.org/tsconfig#module
*/
"module": "ESNext",
/**
* Control what method is used to detect whether a file is a script or a module.
* @see https://www.typescriptlang.org/tsconfig#moduleDetection
*/
"moduleDetection": "force",
/**
* Specify how TypeScript looks up a file from a given module specifier.
* @see https://www.typescriptlang.org/tsconfig#moduleResolution
*/
"moduleResolution": "bundler",
/**
* Disable emitting files from a compilation.
* @see https://www.typescriptlang.org/tsconfig#noEmit
*/
"noEmit": false,
/**
* Enable error reporting for fallthrough cases in switch statements.
* @see https://www.typescriptlang.org/tsconfig#noFallthroughCasesInSwitch
*/
"noFallthroughCasesInSwitch": true,
/**
* Ensure that any non-relative imports are not only present but also have a valid type definition.
* @see https://www.typescriptlang.org/tsconfig#noUncheckedSideEffectImports
*/
"noUncheckedSideEffectImports": true,
/**
* Enable error reporting when local variables aren't read.
* @see https://www.typescriptlang.org/tsconfig#noUnusedLocals
*/
"noUnusedLocals": false,
/**
* Raise an error when a function parameter isn't read.
* @see https://www.typescriptlang.org/tsconfig#noUnusedParameters
*/
"noUnusedParameters": false,
/**
* Specify an output folder for all emitted files.
* @see https://www.typescriptlang.org/tsconfig#outDir
*/
"outDir": "./dist",
/**
* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'.
* @see https://www.typescriptlang.org/tsconfig#paths
*/
"paths": {
"@/*": ["*"]
},
/**
* Specify the root folder within your source files.
* @see https://www.typescriptlang.org/tsconfig#rootDir
*/
"rootDir": "src",
/**
* Skip type checking all .d.ts files.
* @see https://www.typescriptlang.org/tsconfig#skipLibCheck
*/
"skipLibCheck": true,
/**
* Create source map files for emitted JavaScript files.
* @see https://www.typescriptlang.org/tsconfig#sourceMap
*/
"sourceMap": true,
/**
* Enable all strict type-checking options.
* @see https://www.typescriptlang.org/tsconfig#strict
*/
"strict": true,
/**
* Set the JavaScript language version for emitted JavaScript and include compatible library declarations.
* @see https://www.typescriptlang.org/tsconfig#target
*/
"target": "ESNext",
/**
* Specify the file to store incremental compilation information.
* @see https://www.typescriptlang.org/tsconfig#tsBuildInfoFile
*/
"tsBuildInfoFile": "node_modules/.tmp/tsconfig.appsscript.tsbuildinfo",
/**
* List of folders to include type definitions from.
* @see https://www.typescriptlang.org/tsconfig#typeRoots
*/
"typeRoots": ["node_modules/@types", "./config/types"],
/**
* Specify type package names to be included without being referenced in a source file.
* @see https://www.typescriptlang.org/tsconfig#types
*/
"types": ["google-apps-script"],
/**
* Emit ECMAScript-standard-compliant class fields.
* @see https://www.typescriptlang.org/tsconfig#useDefineForClassFields
*/
"useDefineForClassFields": false
},
/**
* Specifies a list of glob patterns that match files to be included in compilation.
* @see https://www.typescriptlang.org/tsconfig#include
*/
"include": ["src/**/*"],
/**
* Specifies a list of files to be excluded from compilation.
* @see https://www.typescriptlang.org/tsconfig#exclude
*/
"exclude": ["node_modules", "dist"]
}