-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
63 lines (63 loc) · 2 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
{
"compilerOptions": {
/* Basic Options */
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"lib": ["es2018", "dom"],
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"esModuleInterop": true,
// Prevent developers on different OSes from running into problems:
"forceConsistentCasingInFileNames": true,
/* Advanced Options */
"stripInternal": true,
// This is required to transform native ESM from our dependencies using ts-jest.
"allowJs": true
},
"include": ["src/index.ts"],
"typedocOptions": {
"out": "docs/api/source/api",
"entryPoints": [
// The source files of everything listed under `exports` in our package.json
// (i.e. public API's that should be documented) should be listed here:
"src/index.ts",
"src/resource/index.ts",
"src/fetch/index.ts",
"src/common/getters.ts",
"src/gConsent/index.ts",
"src/gConsent/discover/index.ts",
"src/gConsent/manage/index.ts",
"src/gConsent/request/index.ts",
"src/gConsent/verify/index.ts",
// These types are reused across files, so give them a specific page for
// them to be documented on:
"src/type/RedirectOptions.ts",
"src/type/FetchOptions.ts",
"src/type/UmaConfiguration.ts",
"src/type/AccessGrant.ts",
"src/type/AccessModes.ts",
"src/gConsent/type/AccessBaseOptions.ts",
"src/gConsent/type/IssueAccessRequestParameters.ts",
"src/gConsent/type/Parameter.ts"
],
"exclude": [
"node_modules/**",
".codesandbox/**",
"**/*.test.ts",
// Internal helpers:
"**/*.internal.ts",
// Re-exported functions are already documented in their own modules:
"src/index.ts",
// Constants are only used internally:
"src/constants.ts"
],
"theme": "markdown",
"readme": "none",
"hideInPageTOC": true,
"entryDocument": "index.rst",
"plugin": ["typedoc-plugin-markdown"]
}
}