Added preferGlobal property in package.json