Use yarn docs:json
command
This commit is contained in:
parent
2c055db0d7
commit
e70c3976db
@ -14,6 +14,7 @@
|
||||
"scripts": {
|
||||
"prebuild": "npm run clean",
|
||||
"build": "run-p build:umd:prod build:commonjs; exit 0;",
|
||||
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $1 $2",
|
||||
"lint": "tslint src/**/*.ts test/**/*.ts",
|
||||
"test:circleci": "run-s test:coverage report_test_coverage; if [ $CIRCLE_BRANCH = \"development\" ]; then yarn test:umd; fi",
|
||||
"test": "run-s clean test:commonjs",
|
||||
|
@ -33,9 +33,8 @@ getLatestTagAndVersionAsync(subPackageName)
|
||||
.then(function(release) {
|
||||
console.log('POSTPUBLISH: Release successful, generating docs...');
|
||||
|
||||
// return typedocApp.generateDocs([rootDir], __dirname + '/../docs/index.json');
|
||||
return execAsync(
|
||||
'yarn typedoc --excludePrivate --excludeExternals --target ES5 --json ' + __dirname + '/../docs/index.json ' + __dirname + '/..',
|
||||
'yarn docs:json ' + __dirname + '/../docs/index.json ' + __dirname + '/..',
|
||||
{
|
||||
cwd: __dirname + '/..',
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user