aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config/monorepo_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tslint-config/monorepo_scripts')
-rw-r--r--packages/tslint-config/monorepo_scripts/globals.d.ts6
-rw-r--r--packages/tslint-config/monorepo_scripts/postpublish.ts6
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/tslint-config/monorepo_scripts/globals.d.ts b/packages/tslint-config/monorepo_scripts/globals.d.ts
new file mode 100644
index 000000000..94e63a32d
--- /dev/null
+++ b/packages/tslint-config/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/tslint-config/monorepo_scripts/postpublish.ts b/packages/tslint-config/monorepo_scripts/postpublish.ts
new file mode 100644
index 000000000..d5fcff9d0
--- /dev/null
+++ b/packages/tslint-config/monorepo_scripts/postpublish.ts
@@ -0,0 +1,6 @@
+import { postpublishUtils } from '@0xproject/monorepo-scripts';
+
+import * as packageJSON from '../package.json';
+
+const subPackageName = (packageJSON as any).name;
+postpublishUtils.standardPostPublishAsync(subPackageName);