Changed prefix to ~ since it is supported by previous versions of npm