project-bin-config
v1.0.4
Published
API to manage per project configuration
Readme
project-bin-config
API to manage per project configuration.
It can identify up to three files,
- .local.json
- machines.json
- profiles.jsonInstall
npm i project-bin-config --saveAPI
var Config = require('project-bin-config');
new Config().load().get(env).forEach(function(machine){
console.log(machine);
});Configuration
Create a .local.json file on root directory of your project.
{
"servers":{
},
"profileData":{
}
}Create a machines.json file on root directory of your project.
{
"machine1":{
},
"machine2":{
},
":pool":{
}
}Create a profiles.json file on root directory of your project.
{
"profile1":{
},
"profile2":{
}
}