diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-14 21:07:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-14 21:07:24 +0800 |
commit | f7c1e10b5ac112866ee55e7fededdb37c890d30f (patch) | |
tree | 7ac70e30993ad4294cc080fd8f4316cee1e5e98c /packages/react-docs | |
parent | dba1b8a7e92ebd18132e0e714d5109f87b9ab7a9 (diff) | |
download | dexon-sol-tools-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar dexon-sol-tools-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.gz dexon-sol-tools-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.bz2 dexon-sol-tools-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.lz dexon-sol-tools-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.xz dexon-sol-tools-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.zst dexon-sol-tools-f7c1e10b5ac112866ee55e7fededdb37c890d30f.zip |
Move configuration into package.json configs section
Diffstat (limited to 'packages/react-docs')
-rw-r--r-- | packages/react-docs/src/monorepo_scripts/postpublish.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/react-docs/src/monorepo_scripts/postpublish.ts b/packages/react-docs/src/monorepo_scripts/postpublish.ts index 6e5aa050a..dcb99d0f7 100644 --- a/packages/react-docs/src/monorepo_scripts/postpublish.ts +++ b/packages/react-docs/src/monorepo_scripts/postpublish.ts @@ -1,7 +1,8 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; +import * as tsConfigJSON from '../tsconfig.json'; -const subPackageName = (packageJSON as any).name; +const cwd = `${__dirname}/..`; // tslint:disable-next-line:no-floating-promises -postpublishUtils.standardPostPublishAsync(subPackageName); +postpublishUtils.runAsync(packageJSON, tsConfigJSON, cwd); |