UNPKG

673 BTypeScriptView Raw
1import { Command } from './command';
2/**
3 * CLI arguments passed to `ng-packagr` executable and `build()` command.
4 *
5 * @stable
6 */
7export interface CliArguments {
8 /** Path to the project file 'package.json', 'ng-package.json', or 'ng-package.js'. */
9 project: string;
10 /** Whether or not ng-packagr will watch for file changes and perform an incremental build. */
11 watch?: boolean;
12 /** Path to a tsconfig file. */
13 config?: string;
14 /** Enable and define the file watching poll time period in milliseconds */
15 poll?: number;
16}
17/**
18 * Command running an "one-off" build.
19 *
20 * @stable
21 */
22export declare const build: Command<CliArguments, void>;