package: warn on local install via preferGlobal

See https://www.npmjs.org/doc/files/package.json.html#preferglobal