rollup-plugin-generate-package-json
JSON →Rollup plugin that generates a lean package.json file containing only the dependencies from your bundle, optionally supplemented with additional dependencies. Version 3.2.0, released 2021-01-28 with active maintenance; supports Rollup >=1.0.0 and Node >=8.3. Key differentiator: automatically extracts dependencies used in the bundle, avoiding manual pruning of package.json for deployment. Offers options to customize base contents (via object or function) and add extra dependencies with version overrides. ESM-only plugin.
Traffic · last 30 days ↓33% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇱 Netherlands · 🇬🇧 United Kingdom