{"_id":"@fiverr/afterbuild-webpack-plugin","_rev":"8-f68d144bb15dcf2ecf06bc689cfce896","name":"@fiverr/afterbuild-webpack-plugin","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@fiverr/afterbuild-webpack-plugin","version":"1.0.0","keywords":["webpack","webpack-plugin","build","after-build","post-build"],"author":{"name":"Fiverr"},"license":"MIT","_id":"@fiverr/afterbuild-webpack-plugin@1.0.0","maintainers":[{"name":"tommiz","email":"tom.mizrachi@fiverr.com"},{"name":"cocopina","email":"saharonb@gmail.com"},{"name":"fiverrit","email":"it@fiverr.com"},{"name":"omrilotan","email":"omri@hamadgera.com"},{"name":"michael5r","email":"michael@fiverr.com"}],"homepage":"https://github.com/fiverr/afterbuild-webpack-plugin#readme","bugs":{"url":"https://github.com/fiverr/afterbuild-webpack-plugin/issues"},"dist":{"shasum":"1ac0b4ee302050e123e0cb3909df1ab5c75872bf","tarball":"https://registry.npmjs.org/@fiverr/afterbuild-webpack-plugin/-/afterbuild-webpack-plugin-1.0.0.tgz","fileCount":13,"integrity":"sha512-ZoeJ6Y91WAbavW0w4lBBzJlQ8jQPxJslVoajuvLSPXpJPBYbSRgfSJPrp/NTsv9C2nMqde4kYf/IW2rmmtPB+w==","signatures":[{"sig":"MEQCIBp2MnUJtKQgmzYgyc7RWdQKxrmnyrwzQATor/S6wxF/AiBMPUEP3kH4WJVWUMOpUI2etlxE63enpgYG0NytIw7SwA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezniUCRA9TVsSAnZWagAATWsP/3Sohwv/iLFx49StH11t\nR1bB/2jHJLqri++Uc2S/GDSNFIxEgsa9vbZxcD1SG0a+GsQOyeKmyJfX0mv6\nnPuimAMOWWU3jpSd/yoWu08NcB9jJM0RcZRthWVZpmTYCtCUWZ/3aw6ELUju\ne+gcveGvCbopLz8dIJ9hszjB8f+ebjyGSgrIfq7JfJpTaY5lM8UpyxGRIe+a\n0i6ttCIdwlUhT+0XelnmMQ65iopa7lWPAlY7w2407rsukGBLCgIUd0kUIpTQ\n8dT+sE+Jtp5IXcaKx2YVSS3USPf9S14TVuOcxr6p6k5DRIjjmbPwAbliWimA\nJ51uSoOX6Tgued0csxuOaVaCp4r0BW1TqeuAss0YaT2jx8wnRdHvA0t+/klC\nYgtUruVFW3g6c1QT1y+o+VxPR9fXdd/NfL26zO+2fmX0Npbo4RHnBMd6n9Kg\nNwE//SSSd5ROWCBWD3sYBiRhzp2hJubM7DginLfQ6CvRTpNH4jQ4RScIOb15\n8fvSLrGVj66PEpvy6ptiMuaDHSl/HijryDhZ4XAnHyQ/1ok0SzZv3c2xjnh2\nqhEXZQRBfRDHnRGw83yYOzGvrZZot32SZMdtjJ3xqaMDD67UHWR920aDYRM0\nLSPsQMpHTuAzo3tuvqAP6v3hxd2vr6crT8CAJksaGN0d23gtHx86K+jD9UZm\nbfjK\r\n=vI3r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">= 14.0.0"},"gitHead":"f0d11b295502e90f0aea0710d3e08a4b7e5ec0e0","scripts":{"lint":"eslint '**/*.js'","test":"jest"},"_npmUser":{"name":"fiverrit","email":"it@fiverr.com"},"repository":{"url":"git+https://github.com/fiverr/afterbuild-webpack-plugin.git","type":"git"},"_npmVersion":"6.14.5","description":"A webpack plugin that registers a script to run after the build has finished","directories":{},"_nodeVersion":"14.3.0","publishConfig":{"tag":"latest"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","eslint":"^7.1.0","webpack":"^4.43.0","@fiverr/eslint-config-fiverr":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/afterbuild-webpack-plugin_1.0.0_1590589587983_0.7486240678234526","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-05-27T14:26:27.155Z","modified":"2026-08-23T11:26:05.091Z","1.0.0":"2020-05-27T14:26:28.122Z"},"bugs":{"url":"https://github.com/fiverr/afterbuild-webpack-plugin/issues"},"author":{"name":"Fiverr"},"license":"MIT","homepage":"https://github.com/fiverr/afterbuild-webpack-plugin#readme","keywords":["webpack","webpack-plugin","build","after-build","post-build"],"repository":{"url":"git+https://github.com/fiverr/afterbuild-webpack-plugin.git","type":"git"},"description":"A webpack plugin that registers a script to run after the build has finished","maintainers":[{"email":"it@fiverr.com","name":"fiverrit"},{"email":"omrilotan@hotmail.com","name":"omrilotan"},{"email":"mert.vasit@fiverr.com","name":"mertvasit_fiverr"}],"readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n\n# AfterBuild Webpack Plugin\n\nA webpack plugin that registers a script to run after the build has finished\n\n## Requirements\n\nThis module requires a minimum of Node 8.\n\n## Getting Started\n\nFirst, install the plugin as a dev dependency:\n\n```console\n$ npm i @fiverr/afterbuild-webpack-plugin -D\n```\n\nThen add it to the list of plugins in your `webpack` config:\n\n```js\nconst AfterBuildPlugin = require('@fiverr/afterbuild-webpack-plugin');\n\nmodule.exports = {\n    plugins: [\n        new AfterBuildPlugin(doSomething)\n    ]\n};\n```\n\n## Arguments\n\nThe plugin receieves one argument - a callback function to run once the build has finished.\n\n## Example - Send a Slack notification post-build\n\n```js\nconst { WebClient } = require('@slack/web-api');\nconst AfterBuildPlugin = require('@fiverr/afterbuild-webpack-plugin');\n\nconst slackClient = new WebClient('YOUR_SLACK_TOKEN');\n\nconst sendSlackNorification = () => {\n    slackClient.chat.postMessage({\n        text: 'Build passed successfully!',\n        channel: 'webpack-builds'\n    });\n}\n\nmodule.exports = {\n    plugins: [\n        new AfterBuildPlugin(doSomething)\n    ]\n};\n```\n\n[npm]: https://img.shields.io/npm/v/@fiverr/afterbuild-webpack-plugin.svg\n[npm-url]: https://npmjs.com/package/@fiverr/afterbuild-webpack-plugin\n[node]: https://img.shields.io/node/v/@fiverr/afterbuild-webpack-plugin.svg\n[node-url]: https://nodejs.org\n","readmeFilename":"README.md"}