{ "name": "component-story", "factory": "./src/generators/component-story/component-story", "schema": { "$schema": "https://json-schema.org/schema", "$id": "NxAngularComponentStoryGenerator", "type": "object", "cli": "nx", "description": "Creates a `stories.ts` file for an Angular component.", "properties": { "projectPath": { "type": "string", "description": "Path to the project.", "examples": ["libs/ui-samples"] }, "componentName": { "type": "string", "description": "Class name of the component.", "examples": ["AwesomeComponent"] }, "componentPath": { "type": "string", "description": "Relative path to the component file from the project root.", "examples": ["awesome"] }, "componentFileName": { "type": "string", "description": "Component file name without the `.ts` extension.", "examples": ["awesome.component"] }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false } }, "additionalProperties": false, "required": [ "projectPath", "componentName", "componentPath", "componentFileName" ], "presets": [] }, "description": "Creates a stories.ts file for a component.", "hidden": true, "implementation": "/packages/angular/src/generators/component-story/component-story.ts", "aliases": [], "path": "/packages/angular/src/generators/component-story/schema.json", "type": "generator" }