-
Notifications
You must be signed in to change notification settings - Fork 37
/
tsconfig.json
86 lines (86 loc) · 2.72 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"lib": ["es6", "dom"],
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
// https://github.com/microsoft/TypeScript/wiki/Performance#controlling-types-inclusion:
"types": ["jest"],
"esModuleInterop": true,
// Prevent developers on different OSes from running into problems:
"forceConsistentCasingInFileNames": true,
// Advanced Options
"stripInternal": true
},
"typedocOptions": {
"out": "docs/api/source/api",
"hideInPageTOC": true,
"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/interfaces.ts",
"src/resource/resource.ts",
"src/resource/solidDataset.ts",
"src/resource/file.ts",
"src/resource/mock.ts",
"src/thing/thing.ts",
"src/thing/get.ts",
"src/thing/set.ts",
"src/thing/add.ts",
"src/thing/remove.ts",
"src/thing/build.ts",
"src/thing/mock.ts",
"src/acl/acl.ts",
"src/acl/agent.ts",
"src/acl/group.ts",
"src/acl/class.ts",
"src/acl/mock.ts",
"src/universal/index.ts",
"src/acp/ess2.ts",
"src/acp/ess1.ts",
"src/rdfjs.ts",
"src/profile/jwks.ts",
"src/profile/webid.ts",
"src/formats/index.ts"
],
"exclude": [
"node_modules/**",
"**/*.test.ts",
// Internal helpers:
"**/*.internal.ts",
// End-to-end tests:
"e2e/**",
// Re-exported functions are already documented in their own modules:
"src/index.ts",
// Constants are only used internally:
"src/constants.ts",
// Helper methods for working with raw RDF internally:
"src/datatypes.ts",
// Behind-the-scenes auto-detection of the right fetcher to use:
"src/fetcher.ts",
// Helper methods for working with raw Turtle internally:
"src/formats/turtle.ts",
"src/formats/jsonLd.ts"
],
"theme": "markdown",
"readme": "none",
"entryDocument": "index.rst",
"plugin": ["typedoc-plugin-markdown"]
},
"include": ["src/**/*.ts"],
"exclude": [
"**/node_modules",
// These end-to-end tests reference code in `.codesandbox`,
// which is not part of this project and should not be compiled together with it.
// Not excluding this will lead to the root of the repository being used
// as the root directory for compilation (instead of /src),
// meaning that files that would otherwise be included in /dist directly
// (e.g. dist/index.d.ts) will then be built to /dist/src.
"e2e",
"**/*.test.ts",
"src/tests.internal.ts"
]
}