{"id":15391932,"url":"https://github.com/scrum/webpack-extension-manifest-plugin","last_synced_at":"2025-02-28T23:07:07.871Z","repository":{"id":27284272,"uuid":"113184169","full_name":"Scrum/webpack-extension-manifest-plugin","owner":"Scrum","description":"Creates manifest json file based you config","archived":false,"fork":false,"pushed_at":"2024-08-29T11:18:48.000Z","size":1513,"stargazers_count":23,"open_issues_count":5,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T22:11:20.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Scrum.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/scrumpay"]}},"created_at":"2017-12-05T13:14:44.000Z","updated_at":"2024-12-14T06:28:58.000Z","dependencies_parsed_at":"2024-06-18T17:09:43.361Z","dependency_job_id":"b23a5dca-605f-429e-aae9-afd7bc33681c","html_url":"https://github.com/Scrum/webpack-extension-manifest-plugin","commit_stats":{"total_commits":112,"total_committers":7,"mean_commits":16.0,"dds":0.5,"last_synced_commit":"3c20886590d39db35ddfd702dc90578b2a049d2a"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fwebpack-extension-manifest-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fwebpack-extension-manifest-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fwebpack-extension-manifest-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fwebpack-extension-manifest-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Scrum","download_url":"https://codeload.github.com/Scrum/webpack-extension-manifest-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241270407,"owners_count":19936993,"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":[],"created_at":"2024-10-01T15:13:32.029Z","updated_at":"2025-02-28T23:07:07.838Z","avatar_url":"https://github.com/Scrum.png","language":"JavaScript","funding_links":["https://paypal.me/scrumpay"],"categories":[],"sub_categories":[],"readme":"# webpack-extension-manifest-plugin\n\n\u003e Creates manifest json file based on you config \n\n[![Actions Status](https://github.com/Scrum/webpack-extension-manifest-plugin/workflows/Actions%20Status/badge.svg?style=flat-square)](https://github.com/Scrum/rexios/actions?query=workflow%3A%22CI+tests%22)[![node](https://img.shields.io/node/v/webpack-extension-manifest-plugin.svg?style=flat-square)]()[![npm version](https://img.shields.io/npm/v/webpack-extension-manifest-plugin.svg?style=flat-square)](https://www.npmjs.com/package/webpack-extension-manifest-plugin)[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)[![Coveralls status](https://img.shields.io/coveralls/Scrum/webpack-extension-manifest-plugin.svg?style=flat-square)](https://coveralls.io/r/Scrum/webpack-extension-manifest-plugin)\n\n[![npm downloads](https://img.shields.io/npm/dm/webpack-extension-manifest-plugin.svg?style=flat-square)](https://www.npmjs.com/package/webpack-extension-manifest-plugin)[![npm](https://img.shields.io/npm/dt/webpack-extension-manifest-plugin.svg?style=flat-square)](https://www.npmjs.com/package/webpack-extension-manifest-plugin)\n\n## Why ?\nSimplifies the development of cross-platform browser extension\n- [x] Firefox\n- [x] Chrome\n- [x] EDGE\n- [ ] Safari\n\n## Install\n\n```bash\nnpm i -D webpack-extension-manifest-plugin\n```\n\n\u003e **Note:** This project is compatible with node v10+\n\n## Usage\n\n**baseManifest.js**\n```js\nexport default {\n  name: 'my manifest'\n};\n```\n\n**webpack.config.js**\n```js\nimport WebpackExtensionManifestPlugin from 'webpack-extension-manifest-plugin';\n\nmodule.exports = {\n  plugins: [\n    new WebpackExtensionManifestPlugin({\n      config: {\n        base: './baseManifest.js',\n        extend: {description: 'my description'}\n      },\n      pkgJsonProps: [\n        'version'\n      ]\n    })\n  ]\n};\n\n```\n*Create manifest.json with extend configs `{name: 'my manifest', description: 'my description', version: '0.0.0'}`*\n\n## Options\n\n### `config`\nType: `Object`  \nDefault: `{}`  \nDescription: *Can take a ready-made configuration or filename (to fetch from) for the manifest file, or a set of parameters `base`, `extend` (both of which can be a filename or an object)*  \n\n### `minify`\nType: `Boolean`  \nDefault: `false`  \nDescription: *Controls if the output should be minified*  \n\n### `pkgJsonProps`\nType: `Array of strings`  \nDescription: *Adds specified properties from your package.json file into the manifest*  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrum%2Fwebpack-extension-manifest-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrum%2Fwebpack-extension-manifest-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrum%2Fwebpack-extension-manifest-plugin/lists"}