UNPKG

980 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { TaskConfiguration, TaskConfigurationGenerator } from '../../src';
9import { NodePackageTaskOptions } from './options';
10interface NodePackageInstallTaskOptions {
11 packageManager?: string;
12 packageName?: string;
13 workingDirectory?: string;
14 quiet?: boolean;
15 hideOutput?: boolean;
16 allowScripts?: boolean;
17}
18export declare class NodePackageInstallTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
19 quiet: boolean;
20 hideOutput: boolean;
21 allowScripts: boolean;
22 workingDirectory?: string;
23 packageManager?: string;
24 packageName?: string;
25 constructor(workingDirectory?: string);
26 constructor(options: NodePackageInstallTaskOptions);
27 toConfiguration(): TaskConfiguration<NodePackageTaskOptions>;
28}
29export {};