diff options
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 | } | ||