Updated the cli to produce a config.js file instead of json file