Run 'yarn install' in pre-commit hook to make sure the right ncc version is used

This commit is contained in:
Benoit Daloze
2021-04-02 11:47:35 +02:00
parent 117edf3c27
commit c5c7583a68
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/sh
set -e
yarn install
yarn run package
exec git add dist/index.js