Socket
Book a DemoInstallSign in
Socket

peer-tester

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peer-tester

Test a project with every valid peer dependency

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

peer-tester

Test a project with every valid peer dependency.

Build Status Dependency Status NPM version

Installation

npm install peer-tester --save-dev

Usage

Add & peer-tester to your npm test script, e.g.

{
  "peerDependencies": {
    "react": "*"
  },
  "devDependencies": {
    "jest": "*",
    "peer-tester": "*",
    "react": "*"
  },
  "scripts": {
    "test": "jest && peer-tester"
  }
}

This will first run your tests for the currently installed configuration, then run your tests again for each version of "react" that matches "*".

To see options, run peer-tester --help.

License

MIT

FAQs

Package last updated on 19 Apr 2017

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