{"id":13774985,"url":"https://github.com/azerella/rollup-plugin-manifest-json","last_synced_at":"2025-09-03T08:34:38.607Z","repository":{"id":56057086,"uuid":"223321437","full_name":"azerella/rollup-plugin-manifest-json","owner":"azerella","description":"Rollup plugin to generate a manifest.json file used to tell the browser about your web app.","archived":false,"fork":false,"pushed_at":"2022-09-02T02:43:43.000Z","size":432,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T07:47:15.769Z","etag":null,"topics":["manifest-json","nodejs","npm-module","rollup-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/rollup-plugin-manifest-json","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azerella.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["azerella"]}},"created_at":"2019-11-22T04:09:56.000Z","updated_at":"2025-02-09T11:13:14.000Z","dependencies_parsed_at":"2022-08-15T12:20:33.782Z","dependency_job_id":null,"html_url":"https://github.com/azerella/rollup-plugin-manifest-json","commit_stats":null,"previous_names":["adamzerella/rollup-plugin-manifest-json"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/azerella/rollup-plugin-manifest-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azerella%2Frollup-plugin-manifest-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azerella%2Frollup-plugin-manifest-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azerella%2Frollup-plugin-manifest-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azerella%2Frollup-plugin-manifest-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azerella","download_url":"https://codeload.github.com/azerella/rollup-plugin-manifest-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azerella%2Frollup-plugin-manifest-json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266240769,"owners_count":23898061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["manifest-json","nodejs","npm-module","rollup-plugin"],"created_at":"2024-08-03T17:01:32.448Z","updated_at":"2025-07-21T05:05:05.873Z","avatar_url":"https://github.com/azerella.png","language":"JavaScript","funding_links":["https://github.com/sponsors/azerella"],"categories":["Plugins"],"sub_categories":["Output"],"readme":"# rollup-plugin-manifest-json\n\n[![CI](https://github.com/azerella/rollup-plugin-manifest-json/actions/workflows/CI.yml/badge.svg)](https://github.com/azerella/rollup-plugin-manifest-json/actions/workflows/CI.yml)\n\n\nRollup plugin that generates a [web application manifest](https://w3c.github.io/manifest/#using-a-link-element-to-link-to-a-manifest) file. This file contains the startup parameters and application defaults when a web application is launched.\n\n## Install\n\n```sh\n# NPM\nnpm i --save-dev rollup-plugin-manifest-json\n\n# Yarn\nyarn add -D rollup-plugin-manifest-json\n```\n\n## Usage\n\n```js\nimport manifestJSON from \"rollup-plugin-manifest-json\";\n\nexport default {\n    input: \"main.js\",\n    plugins: [\n        ...\n        manifestJSON({\n            input: \"public/manifest.json\", // Required\n            // minify: true\n            // output: \"public/manifest.webmanifest\"\n            manifest: {\n                short_name: \"different-short-name\"\n            }\n        })\n    ]\n}\n```\n\n## Options\n\n### input\n\n**Required**\n\nType: `string`\n\nDefault: `\"\"`\n\nThe web application manifest file location that will be either cloned or modified and moved into the Rollup build directory.\n\n### minify\n\n_Optional_\n\nType: `boolean`\n\nDefault: `true`\n\nWhether or not to mangle the output file, it's recommended to minify the file as it will reduce the file size.\n\n### manifest\n\n_Optional_\n\nType: `object`\n\nDefault: `{}`\n\nThe key values you wish to add or modify given the existing web application manifest file. For a full list of key values to use [see here.](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json)\n\n### output\n\n_Optional_\n\nType: `string`\n\nDefault: `public/manifest.json`\n\nOutput directory to write the manifest file to, useful for building your app outside of the root rollup folder.\n\n## Contributors\n\nDon't be scared to raise an issue or a pull request! \n\nAny contributions, no matter how big or small will land your picture here and be greatly appreciated ❤️\n\n\u003cdiv style=\"display:inline;\"\u003e\n  \u003ca href=\"https://github.com/adamzerella\"\u003e\u003cimg width=\"48\" height=\"48\" src=\"https://avatars0.githubusercontent.com/u/1501560?s=460\u0026v=4\" alt=\"Adam Zerella\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/benmccann\"\u003e\u003cimg width=\"48\" height=\"48\" src=\"https://avatars1.githubusercontent.com/u/322311?s=460\u0026u=4303e3b2c87b6eab07d258faf5090deedef4550b\u0026v=4\" alt=\"Ben McCann\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n[npm-version-badge]:https://img.shields.io/npm/v/rollup-plugin-manifest-json","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazerella%2Frollup-plugin-manifest-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazerella%2Frollup-plugin-manifest-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazerella%2Frollup-plugin-manifest-json/lists"}