New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

json-reporter

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-reporter

Common plugin for gemini and hermione which is intended to aggregate the results of tests running

  • 2.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
61
decreased by-71.36%
Maintainers
7
Weekly downloads
 
Created
Source

json-reporter

npm Build Status

Common plugin for:

which is intended to aggregate the results of tests running.

You can read more about gemini plugins here and hermione plugins here.

Installation

npm install json-reporter

Usage

Plugin has following configuration:

  • enabled (optional) Boolean – enable/disable the plugin; by default plugin is enabled
  • path (optional) String - path for saving json report file; by default json report will be saved into json-reporter.json inside current work directory.

Also there is ability to override plugin parameters by CLI options or environment variables (see configparser).

Gemini usage

Add plugin to your gemini config file:

module.exports = {
    // ...
    plugins: {
        'json-reporter/gemini': {
            enabled: true,
            path: 'my/custom/report.json'
        }
    },
    //...
}

Hermione usage

Add plugin to your hermione config file:

module.exports = {
    // ...
    plugins: {
        'json-reporter/hermione': {
            enabled: true,
            path: 'my/custom/report.json'
        }
    },
    //...
}

Testing

Run mocha tests:

npm run test-unit

Run tests with istanbul coverage calculation:

npm run cover

Run eslint codestyle verification

npm run lint

Keywords

FAQs

Package last updated on 21 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc