UNPKG

1.17 kBTypeScriptView Raw
1/**
2 * Builds and serves an Angular app, then runs end-to-end tests using Protractor.
3 */
4export interface Schema {
5 /**
6 * A named build target, as specified in the "configurations" section of angular.json.
7 * Each named target is accompanied by a configuration of option defaults for that target.
8 * Setting this explicitly overrides the "--prod" flag
9 */
10 configuration?: string;
11 /**
12 * Shows a help message for this command in the console.
13 */
14 help?: HelpUnion;
15 /**
16 * Shorthand for "--configuration=production".
17 * When true, sets the build configuration to the production target.
18 * By default, the production target is set up in the workspace configuration such that all
19 * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
20 */
21 prod?: boolean;
22 /**
23 * The name of the project to build. Can be an application or a library.
24 */
25 project?: string;
26}
27/**
28 * Shows a help message for this command in the console.
29 */
30export declare type HelpUnion = boolean | HelpEnum;
31export declare enum HelpEnum {
32 HelpJson = "JSON",
33 Json = "json"
34}