{ "name": "configuration", "factory": "./src/generators/configuration/configuration", "schema": { "$schema": "http://json-schema.org/schema", "$id": "NxPlaywrightConfiguration", "description": "Add a Playwright configuration.", "title": "Add a Playwright configuration", "type": "object", "properties": { "project": { "type": "string", "description": "The project to add a Playwright configuration to.", "$default": { "$source": "projectName" }, "x-priority": "important", "x-prompt": "What is the name of the project to set up Playwright for?" }, "directory": { "type": "string", "description": "A directory where the project is placed relative from the project root.", "x-priority": "important", "default": "e2e" }, "js": { "type": "boolean", "description": "Generate JavaScript files rather than TypeScript files.", "default": false }, "webServerCommand": { "type": "string", "description": "The command to start the web server." }, "webServerAddress": { "type": "string", "description": "The address of the web server." }, "linter": { "description": "The tool to use for running lint checks.", "type": "string", "enum": ["eslint", "none"], "default": "eslint" }, "setParserOptionsProject": { "type": "boolean", "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "default": false }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, "description": "Do not add dependencies to `package.json`.", "x-priority": "internal" } }, "required": ["project"], "presets": [] }, "description": "Add Nx Playwright configuration to your project", "implementation": "/packages/playwright/src/generators/configuration/configuration.ts", "aliases": [], "hidden": false, "path": "/packages/playwright/src/generators/configuration/schema.json", "type": "generator" }