-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
39 lines (33 loc) · 1.17 KB
/
tsconfig.json
File metadata and controls
39 lines (33 loc) · 1.17 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
{
"compilerOptions": {
/* Apps Script runs on V8, which supports ES2019 features. */
"target": "ES2019",
"lib": ["ES2019"],
/* Use ESNext modules so Rollup can tree-shake and bundle them. */
"module": "ESNext",
"moduleResolution": "Bundler",
/* Output directory — Rollup handles this, but tsc needs it for type checking. */
"outDir": "./dist",
"rootDir": "./src",
/* Strict type checking. */
"strict": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
/* Interop helpers. */
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"resolveJsonModule": true,
/* Only auto-include these @types packages — prevents @types/jsdom from
bleeding in via jest-environment-jsdom and colliding with the GAS MimeType global. */
"types": ["google-apps-script", "jest"],
/* Emit declarations alongside JS for IDE support. */
"declaration": true,
"declarationDir": "./dist/types",
"sourceMap": true
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist", "__tests__", "src/client"]
}