mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
9 lines
235 B
TypeScript
9 lines
235 B
TypeScript
|
import path from 'path';
|
||
|
|
||
|
import { parseConfigFile } from '@verdaccio/config';
|
||
|
|
||
|
export const getConf = (configName: string) => {
|
||
|
const configPath = path.join(__dirname, 'config', configName);
|
||
|
return parseConfigFile(configPath);
|
||
|
};
|