nx/packages/cypress/generators.json

69 lines
2.9 KiB
JSON

{
"name": "Nx Cypress",
"version": "0.1",
"schematics": {
"init": {
"factory": "./src/generators/init/init#cypressInitSchematic",
"schema": "./src/generators/init/schema.json",
"description": "Initialize the `@nrwl/cypress` plugin.",
"aliases": ["ng-add"],
"hidden": true
},
"cypress-project": {
"factory": "./src/generators/cypress-project/cypress-project#cypressProjectSchematic",
"schema": "./src/generators/cypress-project/schema.json",
"description": "Add a Cypress E2E Project."
},
"configuration": {
"aliases": ["cypress-e2e-configuration", "e2e", "e2e-config"],
"factory": "./src/generators/configuration/configuration#compat",
"schema": "./src/generators/configuration/schema.json",
"description": "Add a Cypress E2E Configuration to an existing project."
},
"component-configuration": {
"aliases": ["cypress-component-configuration"],
"factory": "./src/generators/component-configuration/component-configuration#compat",
"schema": "./src/generators/component-configuration/schema.json",
"description": "Set up Cypress Component Test for a project"
},
"migrate-to-cypress-11": {
"factory": "./src/generators/migrate-to-cypress-11/migrate-to-cypress-11#migrateCypressProject",
"schema": "./src/generators/migrate-to-cypress-11/schema.json",
"description": "Migrate existing Cypress e2e projects to Cypress v11"
}
},
"generators": {
"init": {
"factory": "./src/generators/init/init#cypressInitGenerator",
"schema": "./src/generators/init/schema.json",
"description": "Initialize the `@nrwl/cypress` plugin.",
"aliases": ["ng-add"],
"hidden": true
},
"cypress-project": {
"factory": "./src/generators/cypress-project/cypress-project#cypressProjectGeneratorInternal",
"schema": "./src/generators/cypress-project/schema.json",
"description": "Add a Cypress E2E Project.",
"hidden": true
},
"configuration": {
"aliases": ["cypress-e2e-configuration", "e2e", "e2e-config"],
"factory": "./src/generators/configuration/configuration",
"schema": "./src/generators/configuration/schema.json",
"description": "Add a Cypress E2E Configuration to an existing project."
},
"component-configuration": {
"aliases": ["cypress-component-configuration"],
"factory": "./src/generators/component-configuration/component-configuration",
"schema": "./src/generators/component-configuration/schema.json",
"description": "Set up Cypress Component Test for a project",
"hidden": true
},
"migrate-to-cypress-11": {
"factory": "./src/generators/migrate-to-cypress-11/migrate-to-cypress-11#migrateCypressProject",
"schema": "./src/generators/migrate-to-cypress-11/schema.json",
"description": "Migrate existing Cypress e2e projects to Cypress v11"
}
}
}