I copied package.json
from another project and now want to bump all of the dependencies to their latest versions since this is a fresh project and I don\'t mind
Here is a basic regex to match semantic version numbers so you can quickly replace them all with an asterisk.
([>|<|=|~|^|\s])*?(\d+\.)?(\d+\.)?(\*|\d+)
Select the package versions you want to replace in the JSON file.
Input the regex above and verify it's matching the correct text.
Replace all matches with an asterisk.
Run npm update --save