-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
50 lines (44 loc) · 1.98 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
{
"compilerOptions": {
// We use ECMAScript 2017 language features such as async/await. We rely on Babel for transpiling to older
// JavaScript where necessary.
"target": "es2017",
// If we were to use Parcel to transpile our TypeScript assets, see the configuration at:
// https://github.com/fschopp/project-planning-for-you-track/blob/v0.9.0/tsconfig.json
// Enable all strict type-checking options.
"strict": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "target/main",
"moduleResolution": "node",
// Allow to import CommonJS modules using the regular syntax (as opposed to "import = require('module')")
"esModuleInterop": true,
"jsx": "preserve",
"jsxFactory": "Surplus"
},
"files": [
// From https://www.typescriptlang.org/docs/handbook/tsconfig-json.html:
// "Any files that are referenced by files included via the "files" or "include" properties are also included."
// It is therefore sufficient to list the main file here.
// For TypeDoc, any file explicitly listed here is "internal", all other files are "external". That terminology is
// somewhat confusing -- "internal" in the TypeDoc terminology refers to our own classes, "external" to third-party
// code. However, by listing only those files here that either (a) contain documentation or (b) contain no
// documentation but transitively include everything else, we can conveniently exclude documenting those pieces that
// are not meant to be exported (with option "excludeExternals").
"src/main/graphviz-app-ctrl.ts",
"src/main/graphviz-app-model.ts",
"src/main/graphviz-app-view.tsx",
"src/main/graphviz-settings-ctrl.ts",
"src/main/graphviz-settings-model.ts",
"src/main/graphviz-settings-view.tsx",
"src/main/index.ts"
],
"typedocOptions": {
"excludePrivate": true,
"excludeExternals": true,
"excludeNotExported": true,
"mode": "file",
"out": "target/doc"
}
}