1.0.10 • Published 8 years ago

config-merger v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Config-Merger

Allows for crazy config file setups. merges multiple files into one file.

Build Status Code Climate Test Coverage Issue Count ##Install

npm install config-merger

##Create a configuration in your package.json

Create a section in your package.json config like this

 "config-merger": [
    {
      "company1": {
        "output": "app.config.json",
        "srcFolder": "company1_configs"
      }
    },
    {
      "company2": {
        "output": "app.config.json",
        "srcFolder": "company2_configs"
      }
    }
  ],
  ...

##Command line API

Then you could set up a npm script with something like

 NODE_ENV=production  config-merger --config=company1

Profit !!!

1.0.10

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago