0.1.0 • Published 8 years ago

engine-deps v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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"
  }
}