@terra-money/houston-config
Utility for interacting with houston-config.js files
Usage
import HoustonConfig from "@terra-money/houston-config";
Instantiate default HoustonConfig object
const newConfig = HoustonConfig.default();
Instantiate custom HoustonConfig object
const customConfig = new HoustonConfig(
"/houstonDirPath",
"/currentWorkingDirPath",
networkObj
);
Config.detect()
const HoustonConfig = HoustonConfig.detect();
const HoustonConfig = HoustonConfig.detect({ workingDirectory: "./some/Path" });
const customHoustonConfig = HoustonConfig.detect({}, "./customConfig.js");