aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/scripts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-18 02:30:26 +0800
committerFabio Berger <me@fabioberger.com>2017-11-18 02:30:26 +0800
commite70c3976db61bfe2038b0d56ea196412215aae4f (patch)
tree86f9ca4f9fcc65af4760e0b1264c4487f2021c56 /packages/0x.js/scripts
parent2c055db0d702692d29c746fb60832ad88c04d90d (diff)
downloaddexon-0x-contracts-e70c3976db61bfe2038b0d56ea196412215aae4f.tar.gz
dexon-0x-contracts-e70c3976db61bfe2038b0d56ea196412215aae4f.tar.zst
dexon-0x-contracts-e70c3976db61bfe2038b0d56ea196412215aae4f.zip
Use `yarn docs:json` command
Diffstat (limited to 'packages/0x.js/scripts')
-rw-r--r--packages/0x.js/scripts/postpublish.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/0x.js/scripts/postpublish.js b/packages/0x.js/scripts/postpublish.js
index 3f0502c64..1ec0ac258 100644
--- a/packages/0x.js/scripts/postpublish.js
+++ b/packages/0x.js/scripts/postpublish.js
@@ -28,14 +28,13 @@ getLatestTagAndVersionAsync(subPackageName)
reuseRelease: true,
reuseDraftOnly: false,
assets: [__dirname + '/../_bundles/index.js', __dirname + '/../_bundles/index.min.js'],
- });
+ });
})
.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 + '/..',
}