Revert npm version specifiers to ~ in package.json

See 9935dd72.

Signed-off-by: Alex Coles <alex@alexbcoles.com>