export interface ProjectOptions { root: string; "package": string; buildDir: string; distDir: string; srcDir: string; } export interface Target { /** * Type of the target. */ type: "node" | "test" | "angular"; /** * Base directory for the target, relative to `project.srcDir`. * This is only used wheb generating some target specific configuration files. */ baseDir: string; /** * List of minimatch glob patterns matching the Typescript scripts, relative to `project.srcDir`. */ scripts: string[]; /** * List of minimatch glob patterns matching the Typescript declarations, relative to `project.srcDir`. */ declarations: string[]; /** * The name of tha main module (name of the file without the extension), relative to `project.srcDir`. */ mainModule?: string; } export interface NodeTarget extends Target { type: "node"; mainModule: string; } export interface TestTarget extends Target { type: "test"; } export interface AngularTarget extends Target { type: "angular"; /** * Directory to store intermediate files during the build, relative to `project.buildDir`. */ tmpDir: string; mainModule: string; } export declare const LIB_TARGET: NodeTarget; export declare const LIB_TEST_TARGET: TestTarget; export declare const DEFAULT_PROJECT_OPTIONS: ProjectOptions;