Probably want `"^1.0"` instead of `"~"1.0"`. I think at the time of my original post `^` did not exist, but it's definitely a better choice.