Performance for npm
could be even more faster?
#703
Labels
feature request
A new lefthook feature description
npm
could be even more faster?
#703
⚡ Summary
Hi @evilmartians team/contributors
Tuning
npm
package could lead into performance improvements and reducing startup execution.Opened similar PR/Issue on other projects but impossible to check locally due of hard running local or lacking of running locally easier script.
As these PR not merged into neither of them, so first decided to ask from you
Value
../lint-staged.sh
lint-staged
lefthook run pre-commit
./lefthook run pre-commit
Behavior and configuration changes
If
npx
is not important, can be tuned for usinglefthook
binary fromoptionalDependencies
or prepare script can download and change binary for mainnpm
packagebin
field.Test script locally for you
postinstall.js
node postinstall.js
bin.js
fromnpm
packageThe text was updated successfully, but these errors were encountered: