2017-11-19 10:08:04 -05:00
|
|
|
// @flow
|
2018-06-17 06:34:59 -05:00
|
|
|
import type {IVerdaccioConfig} from '../types';
|
2017-11-19 10:08:04 -05:00
|
|
|
|
|
|
|
export class VerdaccioConfig implements IVerdaccioConfig {
|
|
|
|
|
2017-12-03 16:23:06 -05:00
|
|
|
storagePath: string;
|
|
|
|
configPath: string;
|
|
|
|
domainPath: string;
|
2018-01-27 20:40:07 -05:00
|
|
|
port: number;
|
2017-11-19 10:08:04 -05:00
|
|
|
|
2018-01-27 20:40:07 -05:00
|
|
|
constructor(storagePath: string, configPath: string, domainPath: string, port: number) {
|
2017-12-03 16:23:06 -05:00
|
|
|
this.storagePath = storagePath;
|
|
|
|
this.configPath = configPath;
|
|
|
|
this.domainPath = domainPath;
|
2018-01-27 20:40:07 -05:00
|
|
|
this.port = port;
|
2017-12-03 16:23:06 -05:00
|
|
|
}
|
2017-11-19 10:08:04 -05:00
|
|
|
}
|