aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/postinstall.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postinstall.ts')
-rw-r--r--scripts/postinstall.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/postinstall.ts b/scripts/postinstall.ts
new file mode 100644
index 000000000..4fa71c35f
--- /dev/null
+++ b/scripts/postinstall.ts
@@ -0,0 +1,8 @@
1import { exec } from 'child_process';
2
3// eslint-disable-next-line no-console
4const log = (err, stdout, stderr) => console.log(err || stdout || stderr);
5
6if (!process.env.BUNDLING) {
7 exec('npx lerna run build', log);
8}