-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
tsconfig.json
27 lines (27 loc) · 1.28 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
{
"compilerOptions": {
/* Basic Options */
"target": "es2022",
"module": "es2022",
"lib": ["es2022", "dom"], /* Specify library files to be included in the compilation. */
"allowJs": true, /* Allow javascript files to be compiled. */
"checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"outDir": "dist", // this is overritten by `npm run types`
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
"rootDir": "./",
"emitDeclarationOnly": true,
"strict": true,
"noImplicitAny": true,
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"paths": {
"y-quill": ["./src/y-quill.js"],
"yjs/testHelper": ["./node_modules/yjs/tests/testHelper.js"]
}
},
"include": ["./src/**/*.js", "./test/**/*.js", "./demo/**/*.js", "./embeds/**/*.js"],
"exclude": ["./dist", "./node_modules"]
}