{"name":"simple-progress-webpack-plugin","description":"A simple progress plugin for Webpack, coming with four different logging output formats.","version":"1.0.0","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","dependencies":{"chalk":"1.1.x","figures":"2.0.x","log-update":"1.0.x"},"peerDependencies":{"webpack":">= 2.0.0 < 3.0.0"},"devDependencies":{"webpack":"2.4.x"},"gitHead":"17ade0eb597eafdefcfeacf5b9ef97304907aab3","_id":"simple-progress-webpack-plugin@1.0.0","scripts":{},"_shasum":"f0233877a4e9dcaff55b1ec62f0cb504c174ba81","_from":".","_npmVersion":"4.3.0","_nodeVersion":"7.6.0","_npmUser":{"name":"dominique-mueller","email":"dominique.m.mueller@gmail.com"},"dist":{"shasum":"f0233877a4e9dcaff55b1ec62f0cb504c174ba81","tarball":"http://registry-npm.ywwl.com/simple-progress-webpack-plugin/download/simple-progress-webpack-plugin-1.0.0.tgz","integrity":"sha512-BHHca5T7t2QuGYNKTebzW9MmpjQUVIrSFVKMQ0/CoMwUVPhoDRraHbP0y+sZTIdrJ5oZZwg/7+1st8bg2EoHMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4cGsU333ZovmotXMKlTJOsOEuZFaDpfG5LlXaAMn4AAiAn1yq+riSrOM/tmdQBRMxpyaW6PCoMtZ2JIy+jeZpBrg=="}],"size":1610789,"noattachment":false,"key":"/simple-progress-webpack-plugin/-/simple-progress-webpack-plugin-1.0.0.tgz"},"maintainers":[{"name":"dominique-mueller","email":"dominique.m.mueller@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/simple-progress-webpack-plugin-1.0.0.tgz_1492183737856_0.9562239903025329"},"directories":{},"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":1492183740246,"_cnpm_publish_time":1492183740246,"dist-tags":{"latest":"2.0.0"}}