Adds a "main" key to package.json.