support peerDependenciesMeta
fengmk2 opened this issue · comments
https://docs.npmjs.com/cli/v7/configuring-npm/package-json#peerdependenciesmeta
{
"name": "tea-latte",
"version": "1.3.5",
"peerDependencies": {
"tea": "2.x",
"soy-milk": "1.2"
},
"peerDependenciesMeta": {
"soy-milk": {
"optional": true
}
}
}