aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/monorepo_scripts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-18 22:08:52 +0800
committerFabio Berger <me@fabioberger.com>2018-03-18 22:08:52 +0800
commitb40fab35f6c1989fa391ac02c81150960270fc53 (patch)
treeec0cc8996db7bf40cc79c6382a3a6d186965beb1 /packages/sol-cov/src/monorepo_scripts
parent644deee8b5ac16526e046b74e3a2ab41a50b6727 (diff)
downloaddexon-0x-contracts-b40fab35f6c1989fa391ac02c81150960270fc53.tar.gz
dexon-0x-contracts-b40fab35f6c1989fa391ac02c81150960270fc53.tar.zst
dexon-0x-contracts-b40fab35f6c1989fa391ac02c81150960270fc53.zip
Add doc setup to sol-cov
Diffstat (limited to 'packages/sol-cov/src/monorepo_scripts')
-rw-r--r--packages/sol-cov/src/monorepo_scripts/stagedocs.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/sol-cov/src/monorepo_scripts/stagedocs.ts b/packages/sol-cov/src/monorepo_scripts/stagedocs.ts
new file mode 100644
index 000000000..e732ac8eb
--- /dev/null
+++ b/packages/sol-cov/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);