npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

peer-tester

1.0.6

@forbeslindesay

npmHomeRepoSnykSocket
Downloads:209
$ npm install peer-tester
DailyWeeklyMonthlyYearly

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