{"_id":"@cottagelabs/parcel-reporter-manifest","_rev":"6-8ace8ce7989e77a6f97f0fe4c7ff56f7","name":"@cottagelabs/parcel-reporter-manifest","dist-tags":{"latest":"2.0.0-rc.0-1"},"versions":{"2.0.0-rc.0-1":{"name":"@cottagelabs/parcel-reporter-manifest","version":"2.0.0-rc.0-1","author":{"name":"Cottage Labs","email":"us@cottagelabs.com"},"license":"ISC","_id":"@cottagelabs/parcel-reporter-manifest@2.0.0-rc.0-1","maintainers":[{"name":"alexdutton","email":"npm@alexdutton.co.uk"},{"name":"malvinka","email":"aga@cottagelabs.com"}],"homepage":"https://github.com/cottagelabs/parcel-reporter-manifest#readme","bugs":{"url":"https://github.com/cottagelabs/parcel-reporter-manifest/issues"},"dist":{"shasum":"7a2ac0dffeb477970776cfacca0610b4b142bc14","tarball":"https://registry.npmjs.org/@cottagelabs/parcel-reporter-manifest/-/parcel-reporter-manifest-2.0.0-rc.0-1.tgz","fileCount":4,"integrity":"sha512-vmy+nXTWE/JKEMcm+qsF3O4KiOJIqbx3Fgc3yLurctYW1Y3zZ4LEINO6vw9G6MryLWnnXN4XroGTV54hfNFNCA==","signatures":[{"sig":"MEYCIQDpCiVmP+rLfQHIzc9ODGsGLpwGdDx6mqXX1OlCAXLOpwIhANIHuaAj8YYZkYNFhTkaebSAWb95f1vC+kjndt+HYJtP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzd8lCRA9TVsSAnZWagAAfXUP/3juCs04b/qq8at5vJQv\ncc4qWJivp/5+pwdMOCgAsD5m0tncKYhJ27GguNHRCMWd1ECc/N+uoCCsVa5K\n8nF4Ib84xw043Gf4WvolWqelGo1FB5YCDcqyden024ilo1xnigAjCTrL6EZI\nFakMnd5QR632IqKs38SCFGVJZLdQjPbWeDcW5DW2U+sv7lUEXEuwqojrS76m\nrnVygwtnkerS8gIp35899D89B3HwgucZSiW6h+EuZQBZDdg4z30utKYy2zON\nBYWscPg8ttuVf/wnImnxhROYqbdF9kJWeoJ44/iXm/Zl6Bisc14QqFF1ogWg\nsQ/chKIEQtM62gwdgtpLrAqjXcx+oJyUAaN7/r5fHgqsr6UtnOgLM2Y2w+iM\nRCgr6X5avtjRJMh1aWAHtebeXgtJ+k+277zrEb6yjefEUKg0kwRmnrcziCXe\nWIb/jL5e8U1NT+rYM6r7A81rpNGllknCWyTgA0WUlQxmQygec2vrkteHsUZC\n0G86fT4+BqsyYUgjgj0RT1ACoVUQ21YFVov8kYFen3vsalbKeoubEjBxuZ+u\ncZrf/TQXB0pPaSxCNy/9ScFZx3BmWEBmJmDDsZHtf3INgqLKfss932dGn6vY\n8KpyaRCD2/hv2T+BswCsdxy3SvKaKuboKde54xH2G+FntgPwnDZp0pZre/ky\nqBAe\r\n=18AA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/Reporter.js","source":"src/Reporter.js","engines":{"node":">= 12.0.0","parcel":"^2.0.0-rc.0"},"gitHead":"71d3d9e07f1877ac4fe597a51a75974882097bd3","scripts":{"build":"rimraf ./target && babel src/ -d lib/"},"_npmUser":{"name":"alexdutton","email":"npm@alexdutton.co.uk"},"repository":{"url":"git+https://github.com/cottagelabs/parcel-reporter-manifest.git"},"_npmVersion":"6.14.15","description":"A build manifest generator for [Parcel](https://v2.parceljs.org/).","directories":{},"_nodeVersion":"14.17.6","dependencies":{"@parcel/types":"^2.0.0-rc.0","@parcel/logger":"^2.0.0-rc.0","@parcel/plugin":"^2.0.0-rc.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^3.0.2","flow-bin":"^0.136.0","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","@babel/preset-flow":"^7.12.1","@parcel/babel-preset":"^2.0.0-alpha.2.1"},"_npmOperationalInternal":{"tmp":"tmp/parcel-reporter-manifest_2.0.0-rc.0-1_1632825396428_0.9074547543423361","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-09-28T10:36:36.379Z","modified":"2025-06-05T08:29:49.210Z","2.0.0-rc.0-1":"2021-09-28T10:36:36.810Z"},"bugs":{"url":"https://github.com/cottagelabs/parcel-reporter-manifest/issues"},"author":{"name":"Cottage Labs","email":"us@cottagelabs.com"},"license":"ISC","homepage":"https://github.com/cottagelabs/parcel-reporter-manifest#readme","repository":{"url":"git+https://github.com/cottagelabs/parcel-reporter-manifest.git"},"description":"A build manifest generator for [Parcel](https://v2.parceljs.org/).","maintainers":[{"email":"aga@cottagelabs.com","name":"malvinka"},{"email":"hrafn.malmquist@gmail.com","name":"j4bbi"},{"email":"kush.varade.19@gmail.com","name":"kushagravarade"}],"readme":"# @cottagelabs/parcel-reporter-manifest\n\nA build manifest generator for [Parcel](https://v2.parceljs.org/).\n\nThis Parcel [Reporter plugin](https://v2.parceljs.org/plugin-system/reporter/) records the mapping between targets and\ntheir output files for consumption by your backend web framework. You can use it to integrate Parcel-produced bundle\nfiles into a traditional (non-SPA) web application.\n\nIt can be used for the same purpose as [webpack-bundle-tracker](https://www.npmjs.com/package/webpack-bundle-tracker),\nbut does not provide a compatible output.\n\n\n## Usage\n\nAdd as a dependency:\n\n```shell\n$ npm install save @cottagelabs/parcel-reporter-manifest --save\n```\n\nAdd to your `.parcelrc`, e.g.:\n\n```json\n{\n  \"extends\": \"@parcel/config-default\",\n  \"reporters\": [\"...\", \"@cottagelabs/parcel-reporter-manifest\"]\n}\n```\n\nOptionally, configure the filename to save to in your `package.json`:\n\n```json\n{\n  \"parcel-reporter-manifest\": {\n    \"file\": \"parcel-manifest.json\"\n  }\n}\n```\n\nThe default output file is `parcel-manifest.json`.\n\n\n## Output\n\nThe generated manifest will look like this in the case of a [build\nsuccess](https://v2.parceljs.org/plugin-system/reporter/#build-success):\n```json\n{\n  \"status\": \"done\",\n  \"distPath\": \"/path/to/your-app/dist\",\n  \"bundles\": [\n    {\n      \"name\": \"app\",\n      \"type\": \"js\",\n      \"path\": \"app.js\",\n      \"size\": 19755\n    },\n    {\n      \"name\": \"app\",\n      \"type\": \"css\",\n      \"path\": \"app.css\",\n      \"size\": 71\n    },\n    {\n      \"name\": \"component\",\n      \"type\": \"js\",\n      \"path\": \"component.js\",\n      \"size\": 19646\n    }\n  ]\n}\n```\n\nIf you have used a rewriter plugin, the paths will be the rewritten paths.\n\nIn the case of a [build failure](https://v2.parceljs.org/plugin-system/reporter/#build-failure), your manifest could\nlook like this:\n\n```json\n{\n  \"status\": \"error\",\n  \"distPath\": \"/path/to/your-app/dist\",\n  \"error\": [\n    {\n      \"message\": \"Unexpected eof\",\n      \"codeFrames\": [\n        {\n          \"filePath\": \"/path/to/your-app/src/app.js\",\n          \"codeHighlights\": [\n            {\n              \"message\": null,\n              \"start\": {\n                \"line\": 3,\n                \"column\": 2\n              },\n              \"end\": {\n                \"line\": 3,\n                \"column\": 1\n              }\n            }\n          ]\n        }\n      ],\n      \"hints\": null,\n      \"origin\": \"@parcel/transformer-js\"\n    }\n  ]\n}\n```\n\nThe `error` key contains an array of serialized [Diagnostic](https://v2.parceljs.org/plugin-system/logging/#Diagnostic)\nobjects.\n\n\n# Acknowledgements\n\nThis plugin takes inspiration and borrows from ol-loginov's\n[parcel-reporter-entries](https://github.com/ol-loginov/parcel-reporter-entries), released under the ISC license.","readmeFilename":"README.md"}