Use tilde for package definition

Since otherwise it would break npm on older .10 nodes

Closes gh-585