forked from decentralized-identity/dwn-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
49 lines (49 loc) · 1.27 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
{
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"lib": [
"DOM",
"ES6"
],
"allowJs": true,
"target": "ES6",
"module": "NodeNext",
"declaration": true,
"declarationMap": true,
"declarationDir": "dist/types",
"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"
]
}