frontsideair / yarnhook

Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically
MIT License
217 stars 17 forks source link

Use `npm ci` instead of `npm i` if it's supported #21

Closed frontsideair closed 6 years ago

frontsideair commented 6 years ago

npm ci is way faster than npm install so we should use it when it's available. Requirements:

Things to do:

frontsideair commented 6 years ago

I think it's supposed to work when there's no node_modules present like in a CI environment. Closing.