summaryrefslogtreecommitdiffstats
path: root/scripts/postinstall.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postinstall.js')
-rw-r--r--scripts/postinstall.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/postinstall.js b/scripts/postinstall.js
new file mode 100644
index 000000000..84e7492ef
--- /dev/null
+++ b/scripts/postinstall.js
@@ -0,0 +1,8 @@
1const { exec } = require('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}