UNPKG

479 BTypeScriptView Raw
1import { Rule, Tree, SchematicContext } from '@angular-devkit/schematics';
2export interface PackageMoveOptions {
3 toDeps?: string | string[];
4 toDevDeps?: string | string[];
5}
6/**
7 * Move packages to deps or devDeps adjusting the package.json appropriately.
8 *
9 * @param packageMoveOptions The PackageMoveOptions provided to the schematic
10 */
11export declare function moveNpmPackages(packageMoveOptions: PackageMoveOptions): (tree: Tree, context: SchematicContext) => Rule;