-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
33 lines (33 loc) · 1.69 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
{
"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/stream": ["./src/index.js"],
"@y/stream/utils/websocket": ["./src/utils/websocket.browser.js"],
"@y/stream/api/authentication": ["./src/api/authentication.js"],
"@y/stream/api/actions": ["./src/api/actions.js"],
"@y/stream/api/dbtypes": ["./src/api/dbtypes.js"],
"@y/stream/comms/websocket": ["./src/comms/websocket.js"],
"@y/stream/comms/websocket-server": ["./src/comms/websocket-server.js"],
"@y/stream/extensions/fs": ["./src/extensions/fs.js"]
}
},
"include": ["./src/**/*.js", "./tests/**/*.js", "./demo/**/*.js", "./demo/*.js", "./bin/*.js", "extensions/*.js"],
"exclude": ["./dist", "./node_modules"]
}