Modifies package.json to publish under a npm package.