added preferGlobals to package.json