install-task.d.ts 880 B

123456789101112131415161718192021222324
  1. /**
  2. * @license
  3. * Copyright Google Inc. 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. */
  8. import { TaskConfiguration, TaskConfigurationGenerator } from '../../src';
  9. import { NodePackageTaskOptions } from './options';
  10. export declare class NodePackageInstallTaskOptions {
  11. packageManager: string;
  12. packageName: string;
  13. workingDirectory: string;
  14. quiet: boolean;
  15. }
  16. export declare class NodePackageInstallTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
  17. quiet: boolean;
  18. workingDirectory?: string;
  19. packageManager?: string;
  20. packageName?: string;
  21. constructor(workingDirectory?: string);
  22. constructor(options: Partial<NodePackageInstallTaskOptions>);
  23. toConfiguration(): TaskConfiguration<NodePackageTaskOptions>;
  24. }