I am looking to update the version of a npm module without making changes to the package.json
file. I want to avoid forking the repository if possible.
If the package.json
appears similar to this:
...
"dependencies": {
"iwanttooverridethis": "2.5.0",
...
Is there a way to execute a command like
npm install --override "iwanttooverridethis=3.0.0"
which would result in installing version 3.0.0 of iwanttooverridethis
instead of version 2.5.0? Or is there another method to achieve the same outcome?