Package Exports
- @fisker/husky-config
- @fisker/husky-config/dist/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 (@fisker/husky-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@fisker/husky-config
fisker's Shareable husky Configuration
Install
yarn add husky @fisker/husky-config --dev
Usage
module.exports = require('@fisker/husky-config')
Customize
// prepend
module.exports = require('@fisker/husky-config').prepend({
'pre-commit': 'yarn test',
})
// append
module.exports = require('@fisker/husky-config').append({
'pre-commit': 'yarn test',
})
Overrides
// use overrides method
module.exports = require('@fisker/husky-config').overrides({
'pre-commit': 'yarn test',
})
License
MIT © fisker Cheung