1 | {
|
2 | "$schema": "http://json-schema.org/schema",
|
3 | "id": "SchematicsAngularServiceWorker",
|
4 | "title": "Angular Service Worker Options Schema",
|
5 | "type": "object",
|
6 | "description": "Pass this schematic to the \"run\" command to create a service worker",
|
7 | "properties": {
|
8 | "project": {
|
9 | "type": "string",
|
10 | "description": "The name of the project.",
|
11 | "$default": {
|
12 | "$source": "projectName"
|
13 | }
|
14 | },
|
15 | "target": {
|
16 | "type": "string",
|
17 | "description": "The target to apply service worker to.",
|
18 | "default": "build"
|
19 | },
|
20 | "configuration": {
|
21 | "type": "string",
|
22 | "description": "The configuration to apply service worker to.",
|
23 | "default": "production"
|
24 | }
|
25 | },
|
26 | "required": [
|
27 | "project"
|
28 | ]
|
29 | }
|