-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
72 lines (70 loc) · 2.47 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"compilerOptions": {
"strict": true,
"strictBindCallApply": true,
"noEmit": true,
"skipLibCheck": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"paths": {
// Self-reference to the src types, so that running `npm run type` does not depend on dist/index.d.ts existing
"pleasantest": ["./src/index.ts"],
// These dependencies have export maps but don't have their types defined inside the export maps
"errorstacks": ["./node_modules/errorstacks/dist/types/index.d.ts"],
"dom-accessibility-api": [
"./node_modules/dom-accessibility-api/dist/index.d.ts"
],
"es-module-lexer": ["./node_modules/es-module-lexer/types/lexer.d.ts"],
"simple-code-frame": [
"./node_modules/simple-code-frame/dist/types/index.d.ts"
],
"kolorist": ["./node_modules/kolorist/dist/types/index.d.ts"],
"resolve.exports": ["./node_modules/resolve.exports/index.d.ts"],
"mime/lite": ["./node_modules/@types/mime/lite.d.ts"],
// These dependencies have type declarations that aren't compatable with TS moduleResolution: node16
// These are used in src/types.d.ts
"rollup-plugin-commonjs-original-types": [
"./node_modules/@rollup/plugin-commonjs/types/index.d.ts"
],
"svelte-preprocess-original-types": [
"./node_modules/svelte-preprocess/dist/index.d.ts"
],
"rollup-plugin-vue-original-types": [
"./node_modules/rollup-plugin-vue/dist/index.d.ts"
],
"rollup-plugin-svelte-original-types": [
"./node_modules/rollup-plugin-svelte/index.d.ts"
],
"rollup-plugin-alias-original-types": [
"./node_modules/@rollup/plugin-alias/types/index.d.ts"
],
"rollup-plugin-postcss-original-types": [
"./node_modules/rollup-plugin-postcss/types/index.d.ts"
],
"amp-remapping-original-types": [
"./node_modules/@ampproject/remapping/dist/types/remapping.d.ts"
]
},
"useUnknownInCatchVariables": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"verbatimModuleSyntax": true,
"target": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"types": ["jest"],
"allowJs": true,
"checkJs": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"jsx": "preserve",
"jsxFactory": "h"
},
"include": [
"*.ts",
"src/**/*.ts",
"tests/**/*.ts",
"tests/**/*.tsx",
"examples/**/*.ts",
"examples/**/*.tsx"
]
}