/npm-outdated-junit

A cli tool to parse npm outdated to junit xml for gitlab pipeline

Primary LanguageJavaScript

NPM Audit JUnit

A tool to parse the result of npm outdated --json to a JUnit XML for gitlab reporting.

Usage

Add to you npm scripts:

{
  "scripts": {
    "ci:outdated": "npm outdated --json | npx npm-outdated-junit > npm-outdated.junit.xml"
  }
}

Docs