Yarn plugin for Spire
- Quick start
- Hooks
- Options
- License
1. Install spire-plugin-yarn
``sh`
yarn add --dev spire-plugin-yarn
2. Add spire-plugin-yarn to list of plugins
`json`
{
"spire": {
"plugins": ["spire-plugin-yarn"]
}
}
- preinstall Ensures what yarn is used instead of npm.postinstall
- Runs [yarn-deduplicate].
- Plugin ['spire-plugin-yarn', options]deduplicateStrategy
- \<[string]\> Deduplication strategy. Valid values:fewer
, highest. Defaults to highest`.
MIT © ResearchGate
[yarn-deduplicate]: https://github.com/atlassian/yarn-deduplicate
[string]:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type