forked from facebook/lexical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
212 lines (208 loc) · 8.6 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
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
{
"compilerOptions": {
"target": "ES2019",
"lib": ["esnext", "dom", "dom.iterable"],
"module": "esnext",
"jsx": "react-jsx",
"moduleResolution": "node",
"downlevelIteration": true,
"noEmit": true,
"strict": true,
"baseUrl": ".",
"typeRoots": ["node_modules/@types", "libdefs/globals"],
"skipLibCheck": true,
"resolveJsonModule": true,
"paths": {
"lexical": ["./packages/lexical/src/"],
"@lexical/clipboard": ["./packages/lexical-clipboard/src/"],
"@lexical/list": ["./packages/lexical-list/src/"],
"@lexical/table": ["./packages/lexical-table/src/"],
"@lexical/file": ["./packages/lexical-file/src/"],
"@lexical/hashtag": ["./packages/lexical-hashtag/src/"],
"@lexical/selection": ["./packages/lexical-selection/src/"],
"@lexical/text": ["./packages/lexical-text/src/"],
"@lexical/offset": ["./packages/lexical-offset/src/"],
"@lexical/history": ["./packages/lexical-history/src/"],
"@lexical/headless": ["./packages/lexical-headless/src/"],
"@lexical/html": ["./packages/lexical-html/src/"],
"@lexical/utils": ["./packages/lexical-utils/src/"],
"@lexical/code": ["./packages/lexical-code/src/"],
"@lexical/plain-text": ["./packages/lexical-plain-text/src/"],
"@lexical/rich-text": ["./packages/lexical-rich-text/src/"],
"@lexical/dragon": ["./packages/lexical-dragon/src/"],
"@lexical/link": ["./packages/lexical-link/src/"],
"@lexical/overflow": ["./packages/lexical-overflow/src/"],
"@lexical/markdown": ["./packages/lexical-markdown/src/"],
"@lexical/mark": ["./packages/lexical-mark/src/"],
"@lexical/react/LexicalComposer": [
"./packages/lexical-react/src/LexicalComposer.tsx"
],
"@lexical/react/LexicalComposerContext": [
"./packages/lexical-react/src/LexicalComposerContext.ts"
],
"@lexical/react/LexicalNestedComposer": [
"./packages/lexical-react/src/LexicalNestedComposer.tsx"
],
"@lexical/react/LexicalContentEditable": [
"./packages/lexical-react/src/LexicalContentEditable.tsx"
],
"@lexical/react/LexicalTreeView": [
"./packages/lexical-react/src/LexicalTreeView.tsx"
],
"@lexical/react/LexicalHorizontalRuleNode": [
"./packages/lexical-react/src/LexicalHorizontalRuleNode.tsx"
],
"@lexical/react/LexicalHorizontalRulePlugin": [
"./packages/lexical-react/src/LexicalHorizontalRulePlugin.ts"
],
"@lexical/react/LexicalDecoratorBlockNode": [
"./packages/lexical-react/src/LexicalDecoratorBlockNode.ts"
],
"@lexical/react/LexicalBlockWithAlignableContents": [
"./packages/lexical-react/src/LexicalBlockWithAlignableContents.tsx"
],
"@lexical/react/useLexicalIsTextContentEmpty": [
"./packages/lexical-react/src/useLexicalIsTextContentEmpty.ts"
],
"@lexical/react/useLexicalNodeSelection": [
"./packages/lexical-react/src/useLexicalNodeSelection.ts"
],
"@lexical/react/useLexicalTextEntity": [
"./packages/lexical-react/src/useLexicalTextEntity.ts"
],
"@lexical/react/useLexicalSubscription": [
"./packages/lexical-react/src/useLexicalSubscription.ts"
],
"@lexical/react/useLexicalEditable": [
"./packages/lexical-react/src/useLexicalEditable.ts"
],
"@lexical/react/LexicalPlainTextPlugin": [
"./packages/lexical-react/src/LexicalPlainTextPlugin.tsx"
],
"@lexical/react/LexicalRichTextPlugin": [
"./packages/lexical-react/src/LexicalRichTextPlugin.tsx"
],
"@lexical/react/LexicalTypeaheadMenuPlugin": [
"packages/lexical-react/src/LexicalTypeaheadMenuPlugin.tsx"
],
"@lexical/react/LexicalNodeMenuPlugin": [
"packages/lexical-react/src/LexicalNodeMenuPlugin.tsx"
],
"@lexical/react/LexicalContextMenuPlugin": [
"packages/lexical-react/src/LexicalContextMenuPlugin.tsx"
],
"@lexical/react/LexicalHistoryPlugin": [
"./packages/lexical-react/src/LexicalHistoryPlugin.ts"
],
"@lexical/react/LexicalOnChangePlugin": [
"./packages/lexical-react/src/LexicalOnChangePlugin.ts"
],
"@lexical/react/LexicalNodeEventPlugin": [
"./packages/lexical-react/src/LexicalNodeEventPlugin.ts"
],
"@lexical/react/LexicalHashtagPlugin": [
"./packages/lexical-react/src/LexicalHashtagPlugin.ts"
],
"@lexical/react/LexicalErrorBoundary": [
"./packages/lexical-react/src/LexicalErrorBoundary.tsx"
],
"@lexical/react/LexicalMarkdownShortcutPlugin": [
"./packages/lexical-react/src/LexicalMarkdownShortcutPlugin.tsx"
],
"@lexical/react/LexicalAutoFocusPlugin": [
"./packages/lexical-react/src/LexicalAutoFocusPlugin.ts"
],
"@lexical/react/LexicalTableOfContents": [
"./packages/lexical-react/src/LexicalTableOfContents.tsx"
],
"@lexical/react/LexicalAutoFormatterPlugin": [
"./packages/lexical-react/src/LexicalAutoFormatterPlugin.ts"
],
"@lexical/react/LexicalCharacterLimitPlugin": [
"./packages/lexical-react/src/LexicalCharacterLimitPlugin.tsx"
],
"@lexical/react/LexicalClearEditorPlugin": [
"./packages/lexical-react/src/LexicalClearEditorPlugin.ts"
],
"@lexical/react/LexicalClickableLinkPlugin": [
"./packages/lexical-react/src/LexicalClickableLinkPlugin.tsx"
],
"@lexical/react/LexicalCollaborationContext": [
"./packages/lexical-react/src/LexicalCollaborationContext.ts"
],
"@lexical/react/LexicalCollaborationPlugin": [
"./packages/lexical-react/src/LexicalCollaborationPlugin.ts"
],
"@lexical/react/LexicalTablePlugin": [
"./packages/lexical-react/src/LexicalTablePlugin.ts"
],
"@lexical/react/LexicalLinkPlugin": [
"./packages/lexical-react/src/LexicalLinkPlugin.ts"
],
"@lexical/react/LexicalAutoLinkPlugin": [
"./packages/lexical-react/src/LexicalAutoLinkPlugin.ts"
],
"@lexical/react/LexicalAutoEmbedPlugin": [
"./packages/lexical-react/src/LexicalAutoEmbedPlugin.tsx"
],
"@lexical/react/LexicalListPlugin": [
"./packages/lexical-react/src/LexicalListPlugin.ts"
],
"@lexical/react/LexicalCheckListPlugin": [
"./packages/lexical-react/src/LexicalCheckListPlugin.tsx"
],
"@lexical/react/LexicalTabIndentationPlugin": [
"./packages/lexical-react/src/LexicalTabIndentationPlugin.tsx"
],
"@lexical/react/LexicalEditorRefPlugin": [
"packages/lexical-react/src/LexicalEditorRefPlugin.tsx"
],
"@lexical/dragon/LexicalDragon": ["./packages/lexical-dragon/src/"],
"@lexical/history/LexicalHistory": ["./packages/lexical-history/src/"],
"@lexical/link/LexicalLink": ["./packages/lexical-link/src/"],
"@lexical/markdown/LexicalMarkdown": ["./packages/lexical-markdown/src/"],
"@lexical/headless/LexicalHeadless": ["./packages/lexical-markdown/src/"],
"@lexical/offset/LexicalOffset": ["./packages/lexical-offset/src/"],
"@lexical/overflow/LexicalOverflow": ["./packages/lexical-overflow/src/"],
"@lexical/plain-text/LexicalPlainText": [
"./packages/lexical-plain-text/src/"
],
"@lexical/rich-text/LexicalRichText": [
"./packages/lexical-rich-text/src/"
],
"@lexical/selection/LexicalSelection": [
"./packages/lexical-selection/src/"
],
"@lexical/text/LexicalText": ["./packages/lexical-text/src/"],
"@lexical/utils/LexicalUtils": ["./packages/lexical-utils/src/"],
"@lexical/yjs": ["./packages/lexical-yjs/src/"],
"shared/canUseDOM": ["./packages/shared/src/canUseDOM.ts"],
"shared/caretFromPoint": ["./packages/shared/src/caretFromPoint.ts"],
"shared/simpleDiffWithCursor": [
"packages/shared/src/simpleDiffWithCursor.ts"
],
"shared/invariant": ["./packages/shared/src/invariant.ts"],
"shared/normalizeClassNames": [
"./packages/shared/src/normalizeClassNames.ts"
],
"shared/warnOnlyOnce": ["./packages/shared/src/warnOnlyOnce.ts"],
"shared/environment": ["./packages/shared/src/environment.ts"],
"shared/useLayoutEffect": ["./packages/shared/src/useLayoutEffect.ts"]
}
},
"include": ["./libdefs", "./packages"],
"exclude": [
"**/lexical-*/src/__tests__/**",
"**/dist/**",
"**/npm/**",
"**/node_modules/**",
"./packages/playwright-core/**"
],
"typedocOptions": {
"logLevel": "Verbose"
},
"ts-node": {
"require": ["tsconfig-paths/register"],
"transpileOnly": true
}
}