2019-07-16 08:40:01 +02:00
|
|
|
import {IVerdaccioConfig} from '../types';
|
2017-11-19 16:08:04 +01:00
|
|
|
|
|
|
|
export class VerdaccioConfig implements IVerdaccioConfig {
|
|
|
|
|
2019-07-16 08:40:01 +02:00
|
|
|
public storagePath: string;
|
|
|
|
public configPath: string;
|
|
|
|
public domainPath: string;
|
|
|
|
public port: number;
|
2017-11-19 16:08:04 +01:00
|
|
|
|
2018-01-28 02:40:07 +01:00
|
|
|
constructor(storagePath: string, configPath: string, domainPath: string, port: number) {
|
2017-12-03 22:23:06 +01:00
|
|
|
this.storagePath = storagePath;
|
|
|
|
this.configPath = configPath;
|
|
|
|
this.domainPath = domainPath;
|
2018-01-28 02:40:07 +01:00
|
|
|
this.port = port;
|
2017-12-03 22:23:06 +01:00
|
|
|
}
|
2017-11-19 16:08:04 +01:00
|
|
|
}
|