samccone / engine-deps

install dependencies based on node version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Engine Deps




npm i --save-dev engine-deps

What:

Manage Engine Specific dependencies with ease.

How:

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 install hook

{
  "scripts": {
    "install": "engine-deps"
  }
}
IRL Examples

About

install dependencies based on node version

License:MIT License


Languages

Language:JavaScript 100.0%