aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/package.json1
-rw-r--r--packages/0x.js/scripts/postpublish.js5
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 61039a8c0..10ace5529 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -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",
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 + '/..',
}