12345678910111213141516171819 |
- import { BowerJson, IProject, PackageJson, ProjectFile, ProjectType } from '../definitions';
- import { BaseConfig } from './config';
- export declare const PROJECT_FILE = "ionic.config.json";
- export declare const PROJECT_FILE_LEGACY = "ionic.project";
- export declare const PROJECT_TYPES: ProjectType[];
- export declare class Project extends BaseConfig<ProjectFile> implements IProject {
- directory: string;
- protected packageJsonFile?: PackageJson;
- protected bowerJsonFile?: BowerJson;
- loadAppId(): Promise<string>;
- loadPackageJson(): Promise<PackageJson>;
- loadBowerJson(): Promise<BowerJson>;
- provideDefaults(o: any): Promise<any>;
- getSourceDir(): Promise<string>;
- is(j: any): j is ProjectFile;
- formatType(type: ProjectType): "custom" | "Ionic Angular" | "Ionic 1";
- protected determineType(): Promise<ProjectType>;
- }
|