📜  npm force peer 依赖版本 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:02.906000             🧑  作者: Mango

代码示例1
In your package.json

"resolutions": {
  "hoek": "4.2.1"
}

"scripts": {
  "preinstall": "npx npm-force-resolutions"
}