Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/samccone/engine-deps
- Owner: samccone
- License: mit
- Created: 2015-12-19T21:17:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-22T17:12:49.000Z (almost 9 years ago)
- Last Synced: 2024-10-08T14:24:37.650Z (2 months ago)
- Language: JavaScript
- Size: 82 KB
- Stars: 20
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-npm - engine-deps - Manage Node.js version specific dependencies with ease. (Packages / Other)
- awesome-npm - engine-deps - Manage Node.js version specific dependencies with ease. (Packages / Other)
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)