Package Exports
- husky-init
- husky-init/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (husky-init) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
husky-init
Install and setup husky quickly
See also
auto-husky - interactive mode and more options
Usage
npx husky-init && npm install # npm
npx husky-init && yarn # Yarn 1
npx husky-init --yarn2 && yarn # Yarn 2+If package.json is in a subdirectory (e.g. not in the same directory as .git), please see https://typicode.github.io/husky/#/?id=custom-directory or use auto-husky.