UNPKG

package-proxy

Version:
39 lines (38 loc) 942 B
/** @format */ export declare type ProxyType = "file" | "folder"; export declare type FolderPath = { esm?: string | false | null; cjs?: string | false | null; types?: string | false | null; }; export declare type DefaultSettings = { dest: string; proxyType: ProxyType; } & FolderPath; export declare type ProxifyObject = { root?: string; src: string; dest: string; proxyType?: ProxyType; ignore?: string[]; } & FolderPath; export declare type Settings = { packageName: string; root: string; } & ProxifyObject & DefaultSettings; export declare type CleanSettings = { packageName: string; root: string; } & ProxifyObject; export declare type JSONConfig = { packageName: string; root?: string; proxify: ProxifyObject[]; } & FolderPath; export declare type PackageJSONModel = { name: string; private: true; main?: string; module?: string; types?: string; };