2019-07-16 01:40:01 -05:00
|
|
|
import {IVerdaccioConfig} from '../types';
|
2017-11-19 10:08:04 -05:00
|
|
|
|
|
|
|
export class VerdaccioConfig implements IVerdaccioConfig {
|
|
|
|
|
2019-07-16 01:40:01 -05:00
|
|
|
public storagePath: string;
|
|
|
|
public configPath: string;
|
|
|
|
public domainPath: string;
|
|
|
|
public 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
|
|
|
}
|