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

Made by Antonio Ramirez

engine-deps

0.1.0

@samccone

npmHomeRepoSnykSocket
Downloads:2
$ npm install engine-deps
DailyWeeklyMonthlyYearly

Engine deps

Build Status

Install dependencies depending on the version of node.

Using

In package.json add a new engine-deps section:

{
  "engine-deps": {
    "0.12.x": {
      "backbone@1.0.x"
    },
    "0.10.x": {
      "backbone@1.1.x"
    },
    "^4": {
      "backbone@1.2.x"
    }
  }
}

Then add a new postinstall hook

{
  "scripts": {
    "postinstall": "engine-deps"
  }
}