projecte_ionic/node_modules/@schematics/angular/web-worker/schema.json
2022-02-09 18:30:03 +01:00

45 lines
1.3 KiB
JSON
Executable file

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsAngularWebWorker",
"title": "Angular Web Worker Options Schema",
"type": "object",
"additionalProperties": false,
"description": "Creates a new, generic web worker definition in the given or default project.",
"properties": {
"path": {
"type": "string",
"format": "path",
"description": "The path at which to create the worker file, relative to the current workspace.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"target": {
"type": "string",
"description": "The target to apply web worker to.",
"default": "build",
"x-deprecated": "No longer has an effect."
},
"name": {
"type": "string",
"description": "The name of the worker.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What name would you like to use for the worker?"
},
"snippet": {
"type": "boolean",
"default": true,
"description": "Add a worker creation snippet in a sibling file of the same name."
}
},
"required": ["name", "project"]
}