@valantic/spartacus-mock
Version:
This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.
6 lines (5 loc) • 401 B
TypeScript
import { SchematicContext, TaskId, Tree } from '@angular-devkit/schematics';
import { NodeDependency } from '@schematics/angular/utility/dependencies';
export declare function readPackageJson(tree: Tree): any;
export declare function dependencyExists(dependency: NodeDependency, packageJson: any): boolean;
export declare function createNodePackageInstallationTask(context: SchematicContext): TaskId;