@o3r/schematics
Version:
Schematics module of the Otter framework
13 lines • 711 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 script 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 NpmRunTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
private readonly script;
private readonly workingDirectory?;
constructor(script: string, workingDirectory?: string | undefined);
toConfiguration(): TaskConfiguration<NodePackageTaskOptions>;
}
//# sourceMappingURL=npm-run.d.ts.map