@boost/config
Version:
Powerful convention based finder, loader, and manager of both configuration and ignore files.
8 lines (7 loc) • 440 B
JavaScript
const CONFIG_FOLDER = '.config';
const ROOT_CONFIG_DIR_REGEX = /\.config([/\\])([\d.a-z]+)\.([\da-z]{2,5})$/i;
const ROOT_CONFIG_FILE_REGEX = /([\da-z]+)\.config\.([\da-z]{2,5})$/i;
const PACKAGE_FILE = 'package.json';
const DEFAULT_EXTS = ['js', 'json', 'cjs', 'mjs', 'ts', 'json5', 'yaml', 'yml'];
export { CONFIG_FOLDER, DEFAULT_EXTS, PACKAGE_FILE, ROOT_CONFIG_DIR_REGEX, ROOT_CONFIG_FILE_REGEX };
//# sourceMappingURL=constants.mjs.map