diff options
Diffstat (limited to 'packages/types/src')
-rw-r--r-- | packages/types/src/globals.d.ts | 6 | ||||
-rw-r--r-- | packages/types/src/index.ts | 5 | ||||
-rw-r--r-- | packages/types/src/monorepo_scripts/postpublish.ts | 8 |
3 files changed, 14 insertions, 5 deletions
diff --git a/packages/types/src/globals.d.ts b/packages/types/src/globals.d.ts new file mode 100644 index 000000000..94e63a32d --- /dev/null +++ b/packages/types/src/globals.d.ts @@ -0,0 +1,6 @@ +declare module '*.json' { + const json: any; + /* tslint:disable */ + export default json; + /* tslint:enable */ +} diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 480a52454..149aaca8a 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -27,11 +27,6 @@ export interface TransactionReceipt { logs: Web3.LogEntry[]; } -export interface JSONRPCPayload { - params: any[]; - method: string; -} - export enum AbiType { Function = 'function', Constructor = 'constructor', diff --git a/packages/types/src/monorepo_scripts/postpublish.ts b/packages/types/src/monorepo_scripts/postpublish.ts new file mode 100644 index 000000000..dcb99d0f7 --- /dev/null +++ b/packages/types/src/monorepo_scripts/postpublish.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.runAsync(packageJSON, tsConfigJSON, cwd); |