5.28.2 • Published 7 months ago

@statoscope/stats-validator-reporter-stats-report v5.28.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

stats-validator-reporter-stats-report

npm version Financial Contributors on Open Collective

UI reporter for @statoscope/stats-validator.

Injects validator's result into stats and generates a Statoscope report.

Usage

  1. Install

    npm i -D @statoscope/stats-validator-plugin-webpack

  2. Add into statoscope.config.js

    module.exports = {
      validate: {
        reporters: [["@statoscope/stats-report", { "open": true }]]
        // any other config parts
      }
    }   

In this case, Statoscope validator will generate a UI-report and open it.

Options

type Options = {
  saveReportTo?: string; // a path to save HTML report (temporary dir with random file name by default)
  saveStatsTo?: string; // a path to save JSON stats (does not save stats by default)
  open?: boolean; // open generated Statoscope report (false by default)
  disableReportCompression?: boolean // html report data compression, disable it will increase the size a lot (false by default)
};

Examples

statoscope.config.js:

{
  "validate": {
    "reporters": [["@statoscope/stats-report", { "open": true }]]
  }
}

Generate UI report and open it.

statoscope.config.js:

{
  "validate": {
    "reporters": [["@statoscope/stats-report", { "saveStatsTo": "/path/to/report.html" }]]
  }
}

Generate UI report info /path/to/report.html file.

statoscope.config.js:

{
  "validate": {
    "reporters": [["@statoscope/stats-report", { "saveStatsTo": "/path/to/new/stats.json" }]]
  }
}

Just inject validation result into stats and save into /path/to/new/stats.json file.

5.28.2

7 months ago

5.28.1

7 months ago

5.28.0

8 months ago

5.27.0

9 months ago

5.26.2

1 year ago

5.25.0-alpha.0

1 year ago

5.25.1

1 year ago

5.25.0

1 year ago

5.22.1-alpha.0

2 years ago

5.22.1-alpha.2

2 years ago

5.22.1-alpha.1

2 years ago

5.22.1-alpha.3

2 years ago

5.24.0

2 years ago

5.23.0

2 years ago

5.23.1-alpha.0

2 years ago

5.22.0

2 years ago

5.19.3

2 years ago

5.20.1

2 years ago

5.20.0

2 years ago

5.19.2

2 years ago

5.19.1

2 years ago

5.19.0

2 years ago

5.18.0

3 years ago

5.17.0

3 years ago

5.16.0

3 years ago

5.14.1

3 years ago

5.14.0

3 years ago

5.13.1

3 years ago

5.13.0

3 years ago

5.12.1

3 years ago

5.12.0

3 years ago

5.11.2

3 years ago

5.11.1

3 years ago

5.11.0

3 years ago

5.10.0

3 years ago

5.9.0

3 years ago

5.8.0-alpha.0

3 years ago

5.8.0

3 years ago

5.7.3

3 years ago

5.7.2

3 years ago

5.7.1

3 years ago

5.7.0

3 years ago

5.7.0-alpha.0

3 years ago