#800 Use new typedoc config
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@ -4888,7 +4888,7 @@
|
||||
},
|
||||
"jsesc": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
|
||||
"resolved": "http://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
|
||||
"integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
|
||||
"dev": true
|
||||
},
|
||||
|
@ -14,7 +14,7 @@
|
||||
"tsc": "rimraf ./build && tsc -p .",
|
||||
"webpack": "rimraf ./build && webpack",
|
||||
"demo": "npm run build && npm run ts-node ./demo",
|
||||
"typedoc": "typedoc src/index.ts",
|
||||
"typedoc": "typedoc src/index.ts --tsconfig tsconfig.typedoc.json",
|
||||
"style": "prettier -l \"src/**/*.ts\"",
|
||||
"style.fix": "npm run style -- --write",
|
||||
"fix-types": "ts-node scripts/types-absolute-fixer.ts",
|
||||
|
@ -12,36 +12,9 @@
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"baseUrl": "./src",
|
||||
"paths" : {
|
||||
"/*": [
|
||||
"./*"
|
||||
]
|
||||
"paths": {
|
||||
"/*": ["./*"]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"tests",
|
||||
"**/_*",
|
||||
"demo",
|
||||
"scripts",
|
||||
"webpack.config.ts"
|
||||
],
|
||||
"typedocOptions": {
|
||||
"mode": "file",
|
||||
"out": "docs/api",
|
||||
"exclude": "test",
|
||||
"theme": "default",
|
||||
"ignoreCompilerErrors": true,
|
||||
"excludePrivate": true,
|
||||
"excludeProtected": true,
|
||||
"excludeNotExported": true,
|
||||
"excludeExternals": false,
|
||||
"target": "ES6",
|
||||
"moduleResolution": "node",
|
||||
"preserveConstEnums": true,
|
||||
"stripInternal": true,
|
||||
"suppressExcessPropertyErrors": true,
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
"module": "commonjs"
|
||||
}
|
||||
"exclude": ["node_modules", "tests", "**/_*", "demo", "scripts", "webpack.config.ts"]
|
||||
}
|
||||
|
11
tsconfig.typedoc.json
Normal file
11
tsconfig.typedoc.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"typedocOptions": {
|
||||
"out": "docs/api",
|
||||
"exclude": "test",
|
||||
"theme": "default",
|
||||
"excludePrivate": true,
|
||||
"excludeProtected": true,
|
||||
"excludeExternals": false
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user