aboutsummaryrefslogtreecommitdiffstats
path: root/packages/typescript-typings/monorepo_scripts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-26 19:00:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-27 23:47:04 +0800
commita2e4aaa9a394c359b9bf817ff154572eb33d4fb5 (patch)
treef8a034c2fcec9a83d9f83ed50dfd220b3965e33e /packages/typescript-typings/monorepo_scripts
parent26e9696ddb004759a4a7c5f4a8901dc3255a70f9 (diff)
downloaddexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar
dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.gz
dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.bz2
dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.lz
dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.xz
dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.tar.zst
dexon-sol-tools-a2e4aaa9a394c359b9bf817ff154572eb33d4fb5.zip
Add clean-state tests
Diffstat (limited to 'packages/typescript-typings/monorepo_scripts')
-rw-r--r--packages/typescript-typings/monorepo_scripts/globals.d.ts6
-rw-r--r--packages/typescript-typings/monorepo_scripts/postpublish.ts8
2 files changed, 14 insertions, 0 deletions
diff --git a/packages/typescript-typings/monorepo_scripts/globals.d.ts b/packages/typescript-typings/monorepo_scripts/globals.d.ts
new file mode 100644
index 000000000..94e63a32d
--- /dev/null
+++ b/packages/typescript-typings/monorepo_scripts/globals.d.ts
@@ -0,0 +1,6 @@
+declare module '*.json' {
+ const json: any;
+ /* tslint:disable */
+ export default json;
+ /* tslint:enable */
+}
diff --git a/packages/typescript-typings/monorepo_scripts/postpublish.ts b/packages/typescript-typings/monorepo_scripts/postpublish.ts
new file mode 100644
index 000000000..dcb99d0f7
--- /dev/null
+++ b/packages/typescript-typings/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);