1.0.10 • Published 10 years ago

config-merger v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
10 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

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago