1.0.4 • Published 9 years ago

project-bin-config v1.0.4

Weekly downloads
2
License
WTF
Repository
github
Last release
9 years ago

project-bin-config

API to manage per project configuration.

It can identify up to three files,

- .local.json
- machines.json
- profiles.json

Install

npm i project-bin-config --save

API

  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":{
  }
}
1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago