UNPKG

574 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}
15/**
16 * Command running an "one-off" build.
17 *
18 * @stable
19 */
20export declare const build: Command<CliArguments, void>;