aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-14 23:36:00 +0800
committerFabio Berger <me@fabioberger.com>2018-03-14 23:36:00 +0800
commit642a2cf165abe527bba015b3a923d9624d1b1a3d (patch)
tree48c04d1769006c5ca6c38c74c401321fec68861c /packages/web3-wrapper/src
parenta86f8a81a27d16cb7281a9dd2d10f3a2a64900b6 (diff)
downloaddexon-sol-tools-642a2cf165abe527bba015b3a923d9624d1b1a3d.tar.gz
dexon-sol-tools-642a2cf165abe527bba015b3a923d9624d1b1a3d.tar.zst
dexon-sol-tools-642a2cf165abe527bba015b3a923d9624d1b1a3d.zip
Added doc json generation and uploading to Web3Wrapper package
Diffstat (limited to 'packages/web3-wrapper/src')
-rw-r--r--packages/web3-wrapper/src/monorepo_scripts/stagedocs.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/web3-wrapper/src/monorepo_scripts/stagedocs.ts b/packages/web3-wrapper/src/monorepo_scripts/stagedocs.ts
new file mode 100644
index 000000000..e732ac8eb
--- /dev/null
+++ b/packages/web3-wrapper/src/monorepo_scripts/stagedocs.ts
@@ -0,0 +1,8 @@
+import { postpublishUtils } from '@0xproject/monorepo-scripts';
+
+import * as packageJSON from '../package.json';
+import * as tsConfigJSON from '../tsconfig.json';
+
+const cwd = `${__dirname}/..`;
+// tslint:disable-next-line:no-floating-promises
+postpublishUtils.publishDocsToStagingAsync(packageJSON, tsConfigJSON, cwd);