spire-plugin-yarn
Quick start
- Install
spire-plugin-yarn
yarn add --dev spire-plugin-yarn
- Add
spire-plugin-yarn
to list of plugins
{
"spire": {
"plugins": ["spire-plugin-yarn"]
}
}
Hooks
-
preinstall
Ensures whatyarn
is used instead ofnpm
. -
postinstall
Runs yarn-deduplicate.
Options
- Plugin
['spire-plugin-yarn', options]
-
deduplicateStrategy
<string> Deduplication strategy. Valid values:fewer
,highest
. Defaults tohighest
.
-
License
MIT © ResearchGate