Skip to content

dlmoody/config-merger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !!!

About

merges config files for client side projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors