added preferGlobal to package.json