diff options
author | 2021-09-18 11:15:25 +0200 | |
---|---|---|
committer | 2021-09-18 11:15:25 +0200 | |
commit | d4101a48b3eee8b1fb177831aa02a4b4fbec2588 (patch) | |
tree | c92f2fbe91197fde8589207463d0d6526b4ff76b /scripts/postinstall.ts | |
parent | 5.6.3-nightly.6 [skip ci] (diff) | |
download | ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.gz ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.zst ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.zip |
chore: convert various files from JS to TS (#1959)
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 | } | ||