@o3r/schematics
Version:
Schematics module of the Otter framework
14 lines • 757 B
TypeScript
import { TaskConfiguration, TaskConfigurationGenerator } from '@angular-devkit/schematics';
import { NodePackageTaskOptions } from '@angular-devkit/schematics/tasks/package-manager/options';
/**
* Configuration used to run an Npm binary during schematics execution
* Note that this only works if the necessary files are created on the disk (doesn't work on tree)
*/
export declare class NpmExecTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
private readonly script;
private readonly args;
private readonly workingDirectory?;
constructor(script: string, args?: string[], workingDirectory?: string | undefined);
toConfiguration(): TaskConfiguration<NodePackageTaskOptions>;
}
//# sourceMappingURL=npm-exec.d.ts.map