build: add typedoc

This commit is contained in:
Karl-Philipp Wulfert
2019-02-06 15:50:51 +01:00
committed by Rainer Killinger
parent 2b6707e369
commit a91277c502
2 changed files with 49 additions and 16 deletions

View File

@@ -13,10 +13,11 @@
"scripts": {
"build": "npm run tslint && npm run compile",
"compile": "rimraf lib && tsc --outDir lib && prepend lib/cli.js '#!/usr/bin/env node\n'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
"check-configuration": "openstapps-configuration",
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
"start": "NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true node ./lib/cli.js",
"tslint": "tslint 'src/**/*.ts'",
"check-configuration": "openstapps-configuration"
"tslint": "tslint 'src/**/*.ts'"
},
"dependencies": {
"@openstapps/core": "0.2.0",
@@ -61,6 +62,7 @@
"get-port": "4.1.0",
"prepend-file-cli": "1.0.6",
"rimraf": "2.6.3",
"typedoc": "0.14.2",
"typescript": "3.2.2"
}
}