Variables
Const CONFIG_PATH
CONFIG_PATH: string = path.join(SOURCES_ROOT, "config.js")
Const CONFIG_SAMPLE_PATH
CONFIG_SAMPLE_PATH: string = path.join(SOURCES_ROOT, "config.sample.js")
Const ROOT_PATH
ROOT_PATH: string = path.dirname(findUp.sync("package.json", { cwd: __dirname }))
Const SOURCES_ROOT
SOURCES_ROOT: string = path.dirname(findUp.sync("package.json", { cwd: __dirname }))
Const config
config
: Config = require(CONFIG_PATH) as Config
Const configSample
config
Sample: Config = require(CONFIG_SAMPLE_PATH) as Config