> For the complete documentation index, see [llms.txt](https://valantic.gitbook.io/spartacus-mock/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://valantic.gitbook.io/spartacus-mock/getting-started/schematics.md).

# Schematics

This package offers the following angular custom schematics to speedup your beginning with spartacus-mock:

| schematics name | command                                   | Description                                                                                                                                                                                                                                                                        |
| --------------- | ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ng add          | `ng add @valantic/spartacus-mock`         | <p>This schematics command installs all the needed dependencies, copies the needed<br>file changes in the files <code>package.json</code>, <code>angular.json</code>, <code>main.ts</code>, <code>environment.ts</code>. It also runs the schematics <code>boilerplate</code>.</p> |
| boilerplate     | `ng boilerplate @valantic/spartacus-mock` | This schematics command adds the folder `src/mock-server/mock-data`, and the files `routes.ts`, `handler.ts`, `pass-through.ts`, some example mock-data files and the `index.ts` file to be imported in your `maint.ts`                                                            |
