Add package.json for generate script.