added preferGlobal flag to package.json