Keep your software requirements in sync.
Simple way to see if installed software meet the requirements for a project or team.
$ npm install -g requirements
Create a .requirementsrc
file with the configuration in your project root.
{
"software": {
"java": ">= 1.7.x",
// Apache Maven - https://maven.apache.org/install.html
"mvn": "^4.x",
"node": ">= 5.x",
"npm": ">= 3.x",
"eslint": "^3.x",
"yarn": "^0.x"
}
}
Run requirements
command in the project root. By default it will try to find the .requirementsrc
file. (more info)
$ requirements
Or use a custom path:
$ requirements --config=<filepath>
The MIT License (MIT)
Copyright (c) 2017 Steven Chim