#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": {
|
"jsesc": {
|
||||||
"version": "1.3.0",
|
"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=",
|
"integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"tsc": "rimraf ./build && tsc -p .",
|
"tsc": "rimraf ./build && tsc -p .",
|
||||||
"webpack": "rimraf ./build && webpack",
|
"webpack": "rimraf ./build && webpack",
|
||||||
"demo": "npm run build && npm run ts-node ./demo",
|
"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": "prettier -l \"src/**/*.ts\"",
|
||||||
"style.fix": "npm run style -- --write",
|
"style.fix": "npm run style -- --write",
|
||||||
"fix-types": "ts-node scripts/types-absolute-fixer.ts",
|
"fix-types": "ts-node scripts/types-absolute-fixer.ts",
|
||||||
|
@ -13,35 +13,8 @@
|
|||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"baseUrl": "./src",
|
"baseUrl": "./src",
|
||||||
"paths": {
|
"paths": {
|
||||||
"/*": [
|
"/*": ["./*"]
|
||||||
"./*"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": ["node_modules", "tests", "**/_*", "demo", "scripts", "webpack.config.ts"]
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
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