aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-18 21:54:12 +0800
committerFabio Berger <me@fabioberger.com>2018-03-18 21:54:12 +0800
commitc7302c46e57c4646dbbd0004e09e987b720b5815 (patch)
treec29821584c6aa25b47b426f2fc7196e43ae6449f /packages/json-schemas/src
parent4948551703fb3cb9f8470d9f4a61a9a5473e5afa (diff)
downloaddexon-0x-contracts-c7302c46e57c4646dbbd0004e09e987b720b5815.tar.gz
dexon-0x-contracts-c7302c46e57c4646dbbd0004e09e987b720b5815.tar.zst
dexon-0x-contracts-c7302c46e57c4646dbbd0004e09e987b720b5815.zip
Add JSON Schemas docs to website
Diffstat (limited to 'packages/json-schemas/src')
-rw-r--r--packages/json-schemas/src/monorepo_scripts/stagedocs.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/json-schemas/src/monorepo_scripts/stagedocs.ts b/packages/json-schemas/src/monorepo_scripts/stagedocs.ts
new file mode 100644
index 000000000..e732ac8eb
--- /dev/null
+++ b/packages/json-schemas/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);