diff options
author | 2021-09-10 10:23:36 +0200 | |
---|---|---|
committer | 2021-09-10 10:23:36 +0200 | |
commit | c215007174e7ab5fd0a0470e879eba1295123833 (patch) | |
tree | 7a76e3431eea69a6ccae7d723afabc2706bbbc29 /scripts/prepare.js | |
parent | chore: removed unused 'misty' config file (diff) | |
download | ferdium-app-c215007174e7ab5fd0a0470e879eba1295123833.tar.gz ferdium-app-c215007174e7ab5fd0a0470e879eba1295123833.tar.zst ferdium-app-c215007174e7ab5fd0a0470e879eba1295123833.zip |
chore: preconditions for pnpm migration (#1903)
Diffstat (limited to 'scripts/prepare.js')
-rw-r--r-- | scripts/prepare.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/prepare.js b/scripts/prepare.js new file mode 100644 index 000000000..0b4daa82b --- /dev/null +++ b/scripts/prepare.js | |||
@@ -0,0 +1,6 @@ | |||
1 | const isDev = process.env.NODE_ENV === 'development'; | ||
2 | |||
3 | if (isDev) { | ||
4 | // eslint-disable-next-line global-require | ||
5 | require('husky').install(); | ||
6 | } | ||