{"name":"simple-progress-webpack-plugin","description":"A simple progress plugin for Webpack, coming with four different logging output formats.","version":"1.1.1","author":{"name":"Dominique Müller","email":"dominique.m.mueller@gmail.com","url":"https://www.devdom.io/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dominique-mueller/simple-progress-webpack-plugin.git"},"homepage":"https://github.com/dominique-mueller/simple-progress-webpack-plugin","bugs":{"url":"https://github.com/dominique-mueller/simple-progress-webpack-plugin/issues"},"keywords":["webpack","plugin","progress","simple","logger"],"main":"./index.js","scripts":{"automatic-release":"automatic-release","list-deployed-files":"pkgfiles --sort=name"},"dependencies":{"chalk":"2.3.x","figures":"2.0.x","log-update":"2.3.x"},"peerDependencies":{"webpack":">=2.0.0 <3.0.0"},"devDependencies":{"automatic-release":"1.1.x","pkgfiles":"2.3.x","webpack":"2.7.x"},"gitHead":"7d59b590c09c30b6f67a14392992602aa38984a0","_id":"simple-progress-webpack-plugin@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"7.9.0","_npmUser":{"name":"dominique-mueller","email":"dominique.m.mueller@gmail.com"},"dist":{"integrity":"sha512-vaTbSSEIPBX+2jVnL6QWNlHYJ9KYd2pgRto9z0nSl7Zg6jSCqibIPWGj3Y/yswlY0jXo6qUuvDJ8H5hLUbDHNA==","shasum":"bf0f12b064421aca53395919f9343a1849a587dc","tarball":"http://registry-npm.ywwl.com/simple-progress-webpack-plugin/download/simple-progress-webpack-plugin-1.1.1.tgz","fileCount":16,"unpackedSize":1690621,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzC5fuwF6L3a81bIv0h+osP8WsgLBtJS/VWFvQ+ph51wIhAOb6JDStVHNBK3U2e5zQNkulP2VDTZ+nPNf2bZ2GaJGj"}],"size":1612412,"noattachment":false,"key":"/simple-progress-webpack-plugin/-/simple-progress-webpack-plugin-1.1.1.tgz"},"maintainers":[{"name":"dominique-mueller","email":"dominique.m.mueller@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-progress-webpack-plugin_1.1.1_1519330818885_0.888853235230266"},"_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":1519330819005,"_cnpm_publish_time":1519330819005,"dist-tags":{"latest":"2.0.0"}}