You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
import { ExpoConfig } from '@expo/config';
|
|
import { Project } from 'xdl';
|
|
import { URLOptions } from '../utils/urlOpts';
|
|
export declare type NormalizedOptions = URLOptions & {
|
|
webOnly?: boolean;
|
|
dev?: boolean;
|
|
minify?: boolean;
|
|
https?: boolean;
|
|
nonInteractive?: boolean;
|
|
clear?: boolean;
|
|
maxWorkers?: number;
|
|
sendTo?: string;
|
|
host?: string;
|
|
lan?: boolean;
|
|
localhost?: boolean;
|
|
tunnel?: boolean;
|
|
metroPort?: number;
|
|
webpackPort?: number;
|
|
forceManifestType?: string;
|
|
};
|
|
export declare type RawStartOptions = NormalizedOptions & {
|
|
port?: number;
|
|
parent?: {
|
|
nonInteractive: boolean;
|
|
rawArgs: string[];
|
|
};
|
|
};
|
|
export declare function setBooleanArg(argName: string, rawArgs: string[], fallback?: boolean): boolean | undefined;
|
|
export declare function normalizeOptionsAsync(projectRoot: string, options: RawStartOptions): Promise<NormalizedOptions>;
|
|
export declare function parseRawArguments(options: RawStartOptions, rawArgs: string[]): NormalizedOptions;
|
|
export declare function parseStartOptions(options: NormalizedOptions, exp: ExpoConfig): Project.StartOptions;
|