{"name":"simple-progress-webpack-plugin","description":"A simple progress plugin for Webpack.","version":"2.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/dominique-mueller/simple-progress-webpack-plugin.git"},"keywords":["webpack","plugin","progress","simple","logger"],"type":"module","exports":{".":{"import":"./index.js","require":"./index.cjs"}},"module":"./index.js","main":"./index.cjs","types":"./index.d.ts","scripts":{"build":"npm run build:clean && npm run build:bundle && npm run build:assets","build:assets":"copyfiles package.json CHANGELOG.md LICENSE README.md docs/** dist","build:bundle":"rollup --config rollup.config.js","build:clean":"rimraf -r dist","pack":"cd dist && npm pack && cd ..","lint":"eslint index.ts src/** --max-warnings 0","lint:fix":"eslint index.ts src/** --max-warnings 0 --fix"},"dependencies":{"chalk":"4.1.x","figures":"3.2.x","log-update":"4.0.x"},"peerDependencies":{"webpack":">=2.0.0"},"devDependencies":{"@rollup/plugin-commonjs":"18.0.x","@rollup/plugin-node-resolve":"11.2.x","@rollup/plugin-typescript":"8.2.x","@types/node":"14.14.x","@typescript-eslint/eslint-plugin":"4.14.x","@typescript-eslint/parser":"4.14.x","copyfiles":"2.4.x","eslint-config-prettier":"7.2.x","eslint-plugin-import":"2.22.x","eslint-plugin-prettier":"3.3.x","eslint-plugin-simple-import-sort":"7.0.x","eslint":"7.19.x","prettier":"2.2.x","rimraf":"3.0.x","rollup-plugin-bundle-size":"1.0.x","rollup-plugin-node-externals":"2.2.x","rollup-plugin-typescript2":"0.30.x","rollup":"2.45.x","typescript":"4.1.x","webpack":"5.34.x"},"bugs":{"url":"https://github.com/dominique-mueller/simple-progress-webpack-plugin/issues"},"homepage":"https://github.com/dominique-mueller/simple-progress-webpack-plugin#readme","_id":"simple-progress-webpack-plugin@2.0.0","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Ji8b05YHc9R8iHHbEX8kOqvR2CB8bUqqqP481DbY+j5ImqBhLXk9sXFZZdcSEK3Ld0hZl9i+5CzXWLXzw1NV9g==","shasum":"2d51a63e266070cdd181215a6665e29ea6e82055","tarball":"http://registry-npm.ywwl.com/simple-progress-webpack-plugin/download/simple-progress-webpack-plugin-2.0.0.tgz","fileCount":21,"unpackedSize":506998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiG25CRA9TVsSAnZWagAAvQ0P/RRkWC/4BjJ/ceOo2+Nm\nROE6z9j0QJkfl3VaVdxgudmjNUShrTTT5iif69FXZVx52hPYHHQOR2gqVpck\nFzVBMqLkbW99JbxMLsKK9aUCJ0h6UxzxgCYYxnDcy3X4Vo2EpA+bQND1WeE2\natQTwnELCTLmFvEjJ2hBqUlsoFT03VxXvy02jAAfqYAh0No341mRK9LwV6xP\nk92nGDXabnUZOiUltxTL+S8FSpG6EGlt9aXL2aipXkt78NrWqkQ6LfilqAym\nHjFdBa2zBOTkk5116Prk/YKOqHj9QNavKcvJsXQ9+wJsD7oKL7PqNvZmTER5\njP8nuIaQOMoM7kV+VYGl5Q1RL15Joz+AV6jqLrUkDQUTOvjlU+Xd9MOGjhqS\nSbQJkewVZ2XzZOlWzL7XzlEp2ROPeNnE2MxX5T6bHktWSSD8+7Q+KLByIKhK\n5rLZ36LD+8j6a76A08UKj1t+PVZ3ZQyTjH3dQlRlz+sUDsjW8nZvZEBRZv2G\nkkp7FBwIks1ox1iPxP5z3MYZAn6RTYjIsWkuvVmVuTYLuc3zmkk3t1c7ZPPy\nd8QKtnaloddaxVZacNfoTXg4erDfZ7asYof+yxxZ37ixUUnKVsKyDlmcN9W+\nrdyTYP4bPvzCToXbnKDA1YIFRaIbySU38CO/cQFslzpuB2jUkWEhUl+OKY1/\n85wd\r\n=fS91\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9ykjKWhboXZ+Xf4MNpJVHEOK+uXMhQo8EtnHFnpjwBAIgZ51hiMOyTnjmO7jfiUxBq2Hv9KW/HAFwbM1O400pHfo="}],"size":370471,"noattachment":false,"key":"/simple-progress-webpack-plugin/-/simple-progress-webpack-plugin-2.0.0.tgz"},"_npmUser":{"name":"dominique-mueller","email":"dominique.m.mueller@gmail.com"},"directories":{},"maintainers":[{"name":"dominique-mueller","email":"dominique.m.mueller@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-progress-webpack-plugin_2.0.0_1619553720644_0.23118575456365265"},"_hasShrinkwrap":false,"readme":"<div align=\"center\">\r\n\r\n# simple-progress-webpack-plugin\r\n\r\n**A simple progress plugin for [Webpack](https://webpack.js.org/), coming with four different logging output formats.**\r\n\r\n</div>\r\n\r\n<br><br>\r\n\r\n## What it does\r\n\r\n**simple-progress-webpack-plugin** is a plugin for **[Webpack](https://webpack.js.org/)**. It improves the overall Webpack Developer\r\nExperience by showing a much more detailed and also visually appealing build progress in the command line. Four different output formats are\r\navailable, from which two are ready to be used in a CI environment (such as **[GitHub Actions](https://github.com/features/actions)**).\r\n\r\n<br><br><br>\r\n\r\n## How to install\r\n\r\nYou can get the **simple-progress-webpack-plugin** via **npm** by adding it as a new _dev-dependency_ to your `package.json` file and\r\nrunning `npm install`. Alternatively, run the following command:\r\n\r\n```bash\r\nnpm install simple-progress-webpack-plugin --save-dev\r\n```\r\n\r\n### Requirements\r\n\r\n- **simple-progress-webpack-plugin** requires **NodeJS 12** (or higher) to be installed\r\n\r\n<br><br><br>\r\n\r\n## How to use\r\n\r\nTo use the plugin, import it into your Webpack configuration file and instantiate it within the list of plugins:\r\n\r\n```js\r\nconst SimpleProgressWebpackPlugin = require('simple-progress-webpack-plugin');\r\n\r\nconst webpackConfig = {\r\n  plugins: [new SimpleProgressWebpackPlugin()];\r\n}\r\n```\r\n\r\n<br><br><br>\r\n\r\n## How to customize\r\n\r\nTo customize the plugin, pass options to the constructor of the plugin:\r\n\r\n```js\r\nplugins: [\r\n  new SimpleProgressWebpackPlugin({\r\n    format: 'compact',\r\n  }),\r\n];\r\n```\r\n\r\n<br>\r\n\r\n### Options\r\n\r\nThe following options exist, all of them totally optional:\r\n\r\n| Option   | Description                                                                                         |\r\n| -------- | --------------------------------------------------------------------------------------------------- |\r\n| `color`  | Use colorized console output (might not be available on some CI systems)<br>→ Default value: `true` |\r\n| `format` | Logging output format<br>→ Default value: `compact`                                                 |\r\n| `name`   | Name of the build<br>→ Default value. `Webpack: Starting ...`                                       |\r\n\r\n<br>\r\n\r\n### Logging Formats\r\n\r\nThe following is a list of available logging output formats. While `compact` is the default format, `expanded` is the recommended one for\r\nbeing used within a CI environment.\r\n\r\n#### `minimal`\r\n\r\nThe `minimal` logger prints everything into a single line, constantly updated during the build. This makes it look pretty similar to what\r\nthe **[Angular CLI](https://github.com/angular/angular-cli)** outputs during build. So, if you're a minimalist, this is probably the right\r\nlogger for you!\r\n\r\n> Probably not the best choice for your CI!\r\n\r\n![Minimal Logger Preview GIF](/docs/minimal-logger-preview.gif?raw=true)\r\n\r\n#### `simple`\r\n\r\nThe `simple` logger prints each build step, omitting further details. It's simply simple!\r\n\r\n![Simple Logger Preview GIF](/docs/simple-logger-preview.gif?raw=true)\r\n\r\n#### `compact` (default)\r\n\r\nThe `compact` logger prints each build step with further details (such as the sub-progress and several sub-steps) while still not taking up\r\ntoo much space (thus the name compact).\r\n\r\n> Probably not the best choice for your CI!\r\n\r\n![Compact Logger Preview GIF](/docs/compact-logger-preview.gif?raw=true)\r\n\r\n#### `expanded`\r\n\r\nThe `expanded` logger is pretty similar to the `compact` logger, but prints every sub-step into its own separate line.\r\n\r\n![Expanded Logger Preview GIF](/docs/expanded-logger-preview.gif?raw=true)\r\n\r\n#### `verbose`\r\n\r\nThe `verbose` logger logs everything. Like, everything! The full truth, every crucial detail Webpack has to offer. Best use it for\r\ndebugging purposes (or for finding bugs in this plugin).\r\n\r\n![Verbose Logger Preview GIF](/docs/verbose-logger-preview.gif?raw=true)\r\n\r\n<br><br><br>\r\n\r\n## Similar / related projects\r\n\r\n- **[Progress Bar Webpack Plugin](https://github.com/clessg/progress-bar-webpack-plugin)** is an alternative progress plugin for webpack.\r\n  However, instead of just logging out colored text it uses an animated progress bar. Perfect for anyone who likes bars more than stupid text!\r\n- **[Ghost Progress Webpack Plugin](https://github.com/ZSkycat/ghost-progress-webpack-plugin)** is a no side effects progress plugin for webpack.\r\n  It can output progress and does not affect the output log of other tools, and is more suitable for use in a development server environment.\r\n- **[Friendly Errors Webpack Plugin](https://github.com/geowarin/friendly-errors-webpack-plugin)** complements either this plugin or the\r\n  _Progress Bar Webpack Plugin_ described above. It gives developer a cleaner, more detailed screen once the build has finished. Definitely\r\n  worth checking out!\r\n","publish_time":1619553720797,"_cnpm_publish_time":1619553720797,"dist-tags":{"latest":"2.0.0"}}