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/tslint-config/monorepo_scripts | |
parent | dba1b8a7e92ebd18132e0e714d5109f87b9ab7a9 (diff) | |
download | dexon-0x-contracts-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar dexon-0x-contracts-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.gz dexon-0x-contracts-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.bz2 dexon-0x-contracts-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.lz dexon-0x-contracts-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.xz dexon-0x-contracts-f7c1e10b5ac112866ee55e7fededdb37c890d30f.tar.zst dexon-0x-contracts-f7c1e10b5ac112866ee55e7fededdb37c890d30f.zip |
Move configuration into package.json configs section
Diffstat (limited to 'packages/tslint-config/monorepo_scripts')
-rw-r--r-- | packages/tslint-config/monorepo_scripts/postpublish.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/tslint-config/monorepo_scripts/postpublish.ts b/packages/tslint-config/monorepo_scripts/postpublish.ts index 6e5aa050a..dcb99d0f7 100644 --- a/packages/tslint-config/monorepo_scripts/postpublish.ts +++ b/packages/tslint-config/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); |