{
  "$schema": "https://json-schema.org/schema",
  "cli": "nx",
  "$id": "NxReactCypressComponentTest",
  "title": "Add Cypress component test",
  "description": "Add a Cypress component test for a component.",
  "type": "object",
  "examples": [
    {
      "command": "nx g @nx/react:component-test --project=my-react-project --component-path=src/lib/fancy-component.tsx",
      "description": "Create a cypress component test for FancyComponent"
    }
  ],
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the project the component is apart of",
      "x-dropdown": "projects",
      "x-prompt": "What project is this component apart of?",
      "x-priority": "important"
    },
    "componentPath": {
      "type": "string",
      "description": "Path to component, from the project source root",
      "x-prompt": "What is the path to the component?",
      "x-priority": "important"
    }
  },
  "required": ["project", "componentPath"],
  "examplesFile": "../../../docs/component-test-examples.md"
}
