docusaurus-plugin-typedoc 0.18.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/theme.js CHANGED
@@ -1,194 +1,194 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
19
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
21
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
- return c > 3 && r && Object.defineProperty(target, key, r), r;
23
- };
24
- var __importStar = (this && this.__importStar) || function (mod) {
25
- if (mod && mod.__esModule) return mod;
26
- var result = {};
27
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
28
- __setModuleDefault(result, mod);
29
- return result;
30
- };
31
- Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.DocusaurusTheme = void 0;
33
- const fs = __importStar(require("fs"));
34
- const path = __importStar(require("path"));
35
- const typedoc_1 = require("typedoc");
36
- const groups_1 = require("typedoc-plugin-markdown/dist/groups");
37
- const theme_1 = require("typedoc-plugin-markdown/dist/theme");
38
- const front_matter_1 = require("typedoc-plugin-markdown/dist/utils/front-matter");
39
- const CATEGORY_POSITION = {
40
- [typedoc_1.ReflectionKind.Module]: 1,
41
- [typedoc_1.ReflectionKind.Namespace]: 1,
42
- [typedoc_1.ReflectionKind.Enum]: 2,
43
- [typedoc_1.ReflectionKind.Class]: 3,
44
- [typedoc_1.ReflectionKind.Interface]: 4,
45
- [typedoc_1.ReflectionKind.TypeAlias]: 5,
46
- [typedoc_1.ReflectionKind.Variable]: 6,
47
- [typedoc_1.ReflectionKind.Function]: 7,
48
- [typedoc_1.ReflectionKind.ObjectLiteral]: 8,
49
- };
50
- class DocusaurusTheme extends theme_1.MarkdownTheme {
51
- constructor(renderer) {
52
- super(renderer);
53
- this.listenTo(this.application.renderer, {
54
- [typedoc_1.PageEvent.END]: this.onPageEnd,
55
- [typedoc_1.RendererEvent.END]: this.onRendererEnd,
56
- });
57
- }
58
- getRelativeUrl(url) {
59
- const re = new RegExp(this.includeExtension === 'true' ? '' : '.md', 'g');
60
- const relativeUrl = super.getRelativeUrl(url).replace(re, '');
61
- if (path.basename(relativeUrl).startsWith('index')) {
62
- return relativeUrl.replace('index', '').replace('.md', '');
63
- }
64
- return relativeUrl;
65
- }
66
- onPageEnd(page) {
67
- if (page.contents) {
68
- page.contents = (0, front_matter_1.prependYAML)(page.contents, this.getYamlItems(page));
69
- }
70
- }
71
- onRendererEnd(renderer) {
72
- if (this.sidebar.autoConfiguration) {
73
- writeCategoryYaml(renderer.outputDirectory, this.sidebar.categoryLabel, this.sidebar.position, this.sidebar.collapsed);
74
- Object.keys(groupUrlsByKind(this.getUrls(renderer.project))).forEach((group) => {
75
- const kind = parseInt(group);
76
- const mapping = this.mappings.find((mapping) => mapping.kind.includes(kind));
77
- if (mapping) {
78
- writeCategoryYaml(renderer.outputDirectory + '/' + mapping.directory, (0, groups_1.getKindPlural)(kind), CATEGORY_POSITION[kind], true);
79
- }
80
- });
81
- }
82
- }
83
- getYamlItems(page) {
84
- const pageId = this.getId(page);
85
- const pageTitle = this.getTitle(page);
86
- const sidebarLabel = this.getSidebarLabel(page);
87
- const sidebarPosition = this.getSidebarPosition(page);
88
- let items = {
89
- id: pageId,
90
- title: pageTitle,
91
- };
92
- if (page.url === this.entryDocument && this.indexSlug) {
93
- items = { ...items, slug: this.indexSlug };
94
- }
95
- if (this.sidebar.autoConfiguration) {
96
- if (sidebarLabel && sidebarLabel !== pageTitle) {
97
- items = { ...items, sidebar_label: sidebarLabel };
98
- }
99
- if (sidebarPosition) {
100
- items = { ...items, sidebar_position: parseFloat(sidebarPosition) };
101
- }
102
- }
103
- if (page.url === page.project.url && this.entryPoints.length > 1) {
104
- items = { ...items, hide_table_of_contents: true };
105
- }
106
- items = { ...items, custom_edit_url: null };
107
- if (this.frontmatter) {
108
- items = { ...items, ...this.frontmatter };
109
- }
110
- return {
111
- ...items,
112
- };
113
- }
114
- getSidebarLabel(page) {
115
- const indexLabel = this.sidebar.indexLabel ||
116
- (this.entryPoints.length > 1 ? 'Table of Contents' : 'Exports');
117
- if (page.url === this.entryDocument) {
118
- return page.url === page.project.url
119
- ? indexLabel
120
- : this.sidebar.readmeLabel;
121
- }
122
- if (page.url === this.globalsFile) {
123
- return indexLabel;
124
- }
125
- return this.sidebar.fullNames ? page.model.getFullName() : page.model.name;
126
- }
127
- getSidebarPosition(page) {
128
- if (page.url === this.entryDocument) {
129
- return page.url === page.project.url ? '0.5' : '0';
130
- }
131
- if (page.url === this.globalsFile) {
132
- return '0.5';
133
- }
134
- if (page.model.getFullName().split('.').length === 1) {
135
- return '0';
136
- }
137
- return null;
138
- }
139
- getId(page) {
140
- return path.basename(page.url, path.extname(page.url));
141
- }
142
- getTitle(page) {
143
- const readmeTitle = this.readmeTitle || page.project.name;
144
- if (page.url === this.entryDocument && page.url !== page.project.url) {
145
- return readmeTitle;
146
- }
147
- return (0, front_matter_1.getPageTitle)(page);
148
- }
149
- get mappings() {
150
- return super.mappings.map((mapping) => {
151
- if (mapping.kind.includes(typedoc_1.ReflectionKind.Namespace)) {
152
- return {
153
- ...mapping,
154
- directory: 'namespaces',
155
- };
156
- }
157
- return mapping;
158
- });
159
- }
160
- get globalsFile() {
161
- return 'modules.md';
162
- }
163
- }
164
- __decorate([
165
- (0, typedoc_1.BindOption)('sidebar')
166
- ], DocusaurusTheme.prototype, "sidebar", void 0);
167
- __decorate([
168
- (0, typedoc_1.BindOption)('readmeTitle')
169
- ], DocusaurusTheme.prototype, "readmeTitle", void 0);
170
- __decorate([
171
- (0, typedoc_1.BindOption)('indexSlug')
172
- ], DocusaurusTheme.prototype, "indexSlug", void 0);
173
- __decorate([
174
- (0, typedoc_1.BindOption)('includeExtension')
175
- ], DocusaurusTheme.prototype, "includeExtension", void 0);
176
- __decorate([
177
- (0, typedoc_1.BindOption)('frontmatter')
178
- ], DocusaurusTheme.prototype, "frontmatter", void 0);
179
- exports.DocusaurusTheme = DocusaurusTheme;
180
- const writeCategoryYaml = (categoryPath, label, position, collapsed) => {
181
- const yaml = [`label: "${label}"`];
182
- if (position !== null) {
183
- yaml.push(`position: ${position}`);
184
- }
185
- if (!collapsed) {
186
- yaml.push(`collapsed: false`);
187
- }
188
- if (fs.existsSync(categoryPath)) {
189
- fs.writeFileSync(categoryPath + '/_category_.yml', yaml.join('\n'));
190
- }
191
- };
192
- const groupUrlsByKind = (urls) => {
193
- return urls.reduce((r, v, i, a, k = v.model.kind) => ((r[k] || (r[k] = [])).push(v), r), {});
194
- };
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
19
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
21
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
23
+ };
24
+ var __importStar = (this && this.__importStar) || function (mod) {
25
+ if (mod && mod.__esModule) return mod;
26
+ var result = {};
27
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
28
+ __setModuleDefault(result, mod);
29
+ return result;
30
+ };
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ exports.DocusaurusTheme = void 0;
33
+ const fs = __importStar(require("fs"));
34
+ const path = __importStar(require("path"));
35
+ const typedoc_1 = require("typedoc");
36
+ const groups_1 = require("typedoc-plugin-markdown/dist/groups");
37
+ const theme_1 = require("typedoc-plugin-markdown/dist/theme");
38
+ const front_matter_1 = require("typedoc-plugin-markdown/dist/utils/front-matter");
39
+ const CATEGORY_POSITION = {
40
+ [typedoc_1.ReflectionKind.Module]: 1,
41
+ [typedoc_1.ReflectionKind.Namespace]: 1,
42
+ [typedoc_1.ReflectionKind.Enum]: 2,
43
+ [typedoc_1.ReflectionKind.Class]: 3,
44
+ [typedoc_1.ReflectionKind.Interface]: 4,
45
+ [typedoc_1.ReflectionKind.TypeAlias]: 5,
46
+ [typedoc_1.ReflectionKind.Variable]: 6,
47
+ [typedoc_1.ReflectionKind.Function]: 7,
48
+ [typedoc_1.ReflectionKind.ObjectLiteral]: 8,
49
+ };
50
+ class DocusaurusTheme extends theme_1.MarkdownTheme {
51
+ constructor(renderer) {
52
+ super(renderer);
53
+ this.listenTo(this.application.renderer, {
54
+ [typedoc_1.PageEvent.END]: this.onPageEnd,
55
+ [typedoc_1.RendererEvent.END]: this.onRendererEnd,
56
+ });
57
+ }
58
+ getRelativeUrl(url) {
59
+ const re = new RegExp(this.includeExtension === 'true' ? '' : '.md', 'g');
60
+ const relativeUrl = super.getRelativeUrl(url).replace(re, '');
61
+ if (path.basename(relativeUrl).startsWith('index')) {
62
+ return relativeUrl.replace('index', '').replace('.md', '');
63
+ }
64
+ return relativeUrl;
65
+ }
66
+ onPageEnd(page) {
67
+ if (page.contents) {
68
+ page.contents = (0, front_matter_1.prependYAML)(page.contents, this.getYamlItems(page));
69
+ }
70
+ }
71
+ onRendererEnd(renderer) {
72
+ if (this.sidebar.autoConfiguration) {
73
+ writeCategoryYaml(renderer.outputDirectory, this.sidebar.categoryLabel, this.sidebar.position, this.sidebar.collapsed);
74
+ Object.keys(groupUrlsByKind(this.getUrls(renderer.project))).forEach((group) => {
75
+ const kind = parseInt(group);
76
+ const mapping = this.mappings.find((mapping) => mapping.kind.includes(kind));
77
+ if (mapping) {
78
+ writeCategoryYaml(renderer.outputDirectory + '/' + mapping.directory, (0, groups_1.getKindPlural)(kind), CATEGORY_POSITION[kind], true);
79
+ }
80
+ });
81
+ }
82
+ }
83
+ getYamlItems(page) {
84
+ const pageId = this.getId(page);
85
+ const pageTitle = this.getTitle(page);
86
+ const sidebarLabel = this.getSidebarLabel(page);
87
+ const sidebarPosition = this.getSidebarPosition(page);
88
+ let items = {
89
+ id: pageId,
90
+ title: pageTitle,
91
+ };
92
+ if (page.url === this.entryDocument && this.indexSlug) {
93
+ items = { ...items, slug: this.indexSlug };
94
+ }
95
+ if (this.sidebar.autoConfiguration) {
96
+ if (sidebarLabel && sidebarLabel !== pageTitle) {
97
+ items = { ...items, sidebar_label: sidebarLabel };
98
+ }
99
+ if (sidebarPosition) {
100
+ items = { ...items, sidebar_position: parseFloat(sidebarPosition) };
101
+ }
102
+ }
103
+ if (page.url === page.project.url && this.entryPoints.length > 1) {
104
+ items = { ...items, hide_table_of_contents: true };
105
+ }
106
+ items = { ...items, custom_edit_url: null };
107
+ if (this.frontmatter) {
108
+ items = { ...items, ...this.frontmatter };
109
+ }
110
+ return {
111
+ ...items,
112
+ };
113
+ }
114
+ getSidebarLabel(page) {
115
+ const indexLabel = this.sidebar.indexLabel ||
116
+ (this.entryPoints.length > 1 ? 'Table of Contents' : 'Exports');
117
+ if (page.url === this.entryDocument) {
118
+ return page.url === page.project.url
119
+ ? indexLabel
120
+ : this.sidebar.readmeLabel;
121
+ }
122
+ if (page.url === this.globalsFile) {
123
+ return indexLabel;
124
+ }
125
+ return this.sidebar.fullNames ? page.model.getFullName() : page.model.name;
126
+ }
127
+ getSidebarPosition(page) {
128
+ if (page.url === this.entryDocument) {
129
+ return page.url === page.project.url ? '0.5' : '0';
130
+ }
131
+ if (page.url === this.globalsFile) {
132
+ return '0.5';
133
+ }
134
+ if (page.model.getFullName().split('.').length === 1) {
135
+ return '0';
136
+ }
137
+ return null;
138
+ }
139
+ getId(page) {
140
+ return path.basename(page.url, path.extname(page.url));
141
+ }
142
+ getTitle(page) {
143
+ const readmeTitle = this.readmeTitle || page.project.name;
144
+ if (page.url === this.entryDocument && page.url !== page.project.url) {
145
+ return readmeTitle;
146
+ }
147
+ return (0, front_matter_1.getPageTitle)(page);
148
+ }
149
+ get mappings() {
150
+ return super.mappings.map((mapping) => {
151
+ if (mapping.kind.includes(typedoc_1.ReflectionKind.Namespace)) {
152
+ return {
153
+ ...mapping,
154
+ directory: 'namespaces',
155
+ };
156
+ }
157
+ return mapping;
158
+ });
159
+ }
160
+ get globalsFile() {
161
+ return 'modules.md';
162
+ }
163
+ }
164
+ __decorate([
165
+ (0, typedoc_1.BindOption)('sidebar')
166
+ ], DocusaurusTheme.prototype, "sidebar", void 0);
167
+ __decorate([
168
+ (0, typedoc_1.BindOption)('readmeTitle')
169
+ ], DocusaurusTheme.prototype, "readmeTitle", void 0);
170
+ __decorate([
171
+ (0, typedoc_1.BindOption)('indexSlug')
172
+ ], DocusaurusTheme.prototype, "indexSlug", void 0);
173
+ __decorate([
174
+ (0, typedoc_1.BindOption)('includeExtension')
175
+ ], DocusaurusTheme.prototype, "includeExtension", void 0);
176
+ __decorate([
177
+ (0, typedoc_1.BindOption)('frontmatter')
178
+ ], DocusaurusTheme.prototype, "frontmatter", void 0);
179
+ exports.DocusaurusTheme = DocusaurusTheme;
180
+ const writeCategoryYaml = (categoryPath, label, position, collapsed) => {
181
+ const yaml = [`label: "${label}"`];
182
+ if (position !== null) {
183
+ yaml.push(`position: ${position}`);
184
+ }
185
+ if (!collapsed) {
186
+ yaml.push(`collapsed: false`);
187
+ }
188
+ if (fs.existsSync(categoryPath)) {
189
+ fs.writeFileSync(categoryPath + '/_category_.yml', yaml.join('\n'));
190
+ }
191
+ };
192
+ const groupUrlsByKind = (urls) => {
193
+ return urls.reduce((r, v, i, a, k = v.model.kind) => ((r[k] || (r[k] = [])).push(v), r), {});
194
+ };
package/dist/types.d.ts CHANGED
@@ -1,39 +1,39 @@
1
- export interface PluginOptions {
2
- id: string;
3
- docsRoot: string;
4
- out: string;
5
- sidebar: SidebarOptions;
6
- readmeTitle?: string;
7
- globalsTitle?: string;
8
- plugin: string[];
9
- readme?: string;
10
- disableOutputCheck?: boolean;
11
- cleanOutputDir?: boolean;
12
- entryPoints?: string[];
13
- watch: boolean;
14
- hideInPageTOC: boolean;
15
- hideBreadcrumbs: boolean;
16
- hidePageTitle: boolean;
17
- hideMembersSymbol: boolean;
18
- entryDocument: string;
19
- includeExtension?: boolean;
20
- indexSlug?: string;
21
- theme?: string;
22
- frontmatter: FrontMatter;
23
- }
24
- export type FrontMatter = Record<string, string | boolean | number | null> | undefined;
25
- export interface SidebarOptions {
26
- fullNames?: boolean;
27
- categoryLabel: string;
28
- collapsed: boolean;
29
- indexLabel?: string;
30
- readmeLabel?: string;
31
- position: number | null;
32
- autoConfiguration: boolean;
33
- }
34
- export interface SidebarCategory {
35
- type: string;
36
- label: string;
37
- items: SidebarItem[];
38
- }
39
- export type SidebarItem = SidebarCategory | string;
1
+ export interface PluginOptions {
2
+ id: string;
3
+ docsRoot: string;
4
+ out: string;
5
+ sidebar: SidebarOptions;
6
+ readmeTitle?: string;
7
+ globalsTitle?: string;
8
+ plugin?: string[];
9
+ readme?: string;
10
+ disableOutputCheck?: boolean;
11
+ cleanOutputDir?: boolean;
12
+ entryPoints?: string[];
13
+ watch: boolean;
14
+ hideInPageTOC: boolean;
15
+ hideBreadcrumbs: boolean;
16
+ hidePageTitle: boolean;
17
+ hideMembersSymbol: boolean;
18
+ entryDocument: string;
19
+ includeExtension?: boolean;
20
+ indexSlug?: string;
21
+ theme?: string;
22
+ frontmatter: FrontMatter;
23
+ }
24
+ export type FrontMatter = Record<string, string | boolean | number | null> | undefined;
25
+ export interface SidebarOptions {
26
+ fullNames?: boolean;
27
+ categoryLabel: string;
28
+ collapsed: boolean;
29
+ indexLabel?: string;
30
+ readmeLabel?: string;
31
+ position: number | null;
32
+ autoConfiguration: boolean;
33
+ }
34
+ export interface SidebarCategory {
35
+ type: string;
36
+ label: string;
37
+ items: SidebarItem[];
38
+ }
39
+ export type SidebarItem = SidebarCategory | string;
package/dist/types.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
- {
2
- "name": "docusaurus-plugin-typedoc",
3
- "version": "0.18.0",
4
- "description": "A Docusaurus v2 plugin to build API documentation with TypeDoc.",
5
- "main": "dist/index.js",
6
- "files": [
7
- "dist/"
8
- ],
9
- "bugs": {
10
- "url": "https://github.com/tgreyuk/typedoc-plugin-markdown/issues"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/tgreyuk/typedoc-plugin-markdown.git",
15
- "directory": "packages/docusaurus-plugin-typedoc"
16
- },
17
- "homepage": "https://github.com/tgreyuk/typedoc-plugin-markdown/tree/master/packages/docusaurus-plugin-typedoc",
18
- "peerDependencies": {
19
- "typedoc": ">=0.23.0",
20
- "typedoc-plugin-markdown": ">=3.13.0"
21
- },
22
- "devDependencies": {
23
- "typedoc-plugin-markdown": "^3.13.0"
24
- },
25
- "scripts": {
26
- "lint": "eslint ./src --ext .ts",
27
- "prepublishOnly": "yarn run lint && yarn run build && yarn run test",
28
- "build": "rm -rf ./dist && tsc",
29
- "build-and-test": "yarn run build && yarn run test",
30
- "test": "jest --colors"
31
- },
32
- "author": "Thomas Grey",
33
- "license": "MIT",
34
- "keywords": [
35
- "docusaurus",
36
- "typedoc",
37
- "plugin",
38
- "markdown",
39
- "typescript",
40
- "api"
41
- ]
42
- }
1
+ {
2
+ "name": "docusaurus-plugin-typedoc",
3
+ "version": "0.19.1",
4
+ "description": "A Docusaurus v2 plugin to build API documentation with TypeDoc.",
5
+ "main": "dist/index.js",
6
+ "files": [
7
+ "dist/"
8
+ ],
9
+ "bugs": {
10
+ "url": "https://github.com/tgreyuk/typedoc-plugin-markdown/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/tgreyuk/typedoc-plugin-markdown.git",
15
+ "directory": "packages/docusaurus-plugin-typedoc"
16
+ },
17
+ "homepage": "https://github.com/tgreyuk/typedoc-plugin-markdown/tree/master/packages/docusaurus-plugin-typedoc",
18
+ "peerDependencies": {
19
+ "typedoc": ">=0.24.0",
20
+ "typedoc-plugin-markdown": ">=3.15.0"
21
+ },
22
+ "devDependencies": {
23
+ "typedoc-plugin-markdown": "^3.15.0"
24
+ },
25
+ "scripts": {
26
+ "lint": "eslint ./src --ext .ts",
27
+ "prepublishOnly": "yarn run lint && yarn run build && yarn run test",
28
+ "build": "rm -rf ./dist && tsc",
29
+ "build-and-test": "yarn run build && yarn run test",
30
+ "test": "jest --colors"
31
+ },
32
+ "author": "Thomas Grey",
33
+ "license": "MIT",
34
+ "keywords": [
35
+ "docusaurus",
36
+ "typedoc",
37
+ "plugin",
38
+ "markdown",
39
+ "typescript",
40
+ "api"
41
+ ]
42
+ }