diff options
Diffstat (limited to 'scripts/postinstall.ts')
-rw-r--r-- | scripts/postinstall.ts | 8 |
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 @@ | |||
1 | import { exec } from 'child_process'; | ||
2 | |||
3 | // eslint-disable-next-line no-console | ||
4 | const log = (err, stdout, stderr) => console.log(err || stdout || stderr); | ||
5 | |||
6 | if (!process.env.BUNDLING) { | ||
7 | exec('npx lerna run build', log); | ||
8 | } | ||