Display files statistic for separate directories in your project.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-stats --save-dev
In your project's Gruntfile, add a section named
stats to the data object passed into
Either display only short statistic for directory (amount of files and overall size) or display full report in a table format (list of all files, sorted by file size).
In this example, the default options are used to display short statistic for
app/js/ directory. And the custom options are used to display full statistic for
assets/ directories separately.
MIT © Sergey Lysenko