Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samccone/engine-deps

install dependencies based on node version
https://github.com/samccone/engine-deps

Last synced: about 2 months ago
JSON representation

install dependencies based on node version

Awesome Lists containing this project

README

        


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:

```json
{
"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

```json
{
"scripts": {
"install": "engine-deps"
}
}
```

##### IRL Examples

* [https://github.com/mounirlamouri/manifest-validator](https://github.com/mounirlamouri/manifest-validator/blob/0df7775d79b59232800656db69128f34bfdd21e7/package.json#L8-L26)