forked from TBD54566975/dwn-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
48 lines (48 loc) · 1.41 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
{
"compilerOptions": {
"strict": true,
"noImplicitAny": false, // TODO: #298 - evaluate to see if it's worth it to turn on - https://github.com/TBD54566975/dwn-sdk-js/issues/298
"lib": [
"DOM",
"ES6"
],
"allowJs": true,
"target": "es6",
"module": "ESNext", // Required for enabling JavaScript import assertion support
"declaration": true,
"declarationMap": true,
"outDir": "dist/esm",
"sourceMap": true,
// `NodeNext` will throw compilation errors if relative import paths are missing file extension
// reference: https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-js
"moduleResolution": "NodeNext",
// allows us to import json files
"resolveJsonModule": true,
// required otherwise `ms` lib doesn't import
"esModuleInterop": true
},
"typedocOptions": {
"entryPoints": [
"src/index.ts"
],
"out": "documentation",
"readme": "none",
"excludePrivate": "true",
"excludeProtected": "true",
"excludeExternals": "true",
"name": "DWN-SDK Documentation",
"includeVersion": "true",
"validation": {
"notDocumented": false,
"notExported": false
}
},
"include": [
"./src/index.ts",
"tests" // building tests also so we can run tests directly without the need for ts-node, ts-mocha
],
"exclude": [
"node_modules",
"dist"
]
}