0.1.0 • Published 8 years ago
engine-deps v0.1.0
Engine deps
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"
}
}
0.1.0
8 years ago