UNPKG

@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.

23 lines (22 loc) 707 B
{ "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json", "schematics": { "ng-add": { "factory": "./ng-add/index", "description": "Install and configure spartacus-mock", "private": true, "hidden": true, "aliases": ["install"] }, "setup": { "description": "Adds the necessary file changes for spartacus mock", "factory": "./setup/index#setup", "schema": "./setup/schema.json" }, "boilerplate": { "description": "Adds the folder mock-server and several boilerplate files for an easier start", "factory": "./boilerplate/index#boilerplate", "schema": "./boilerplate/schema.json" } } }