43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
{
|
|
"name": "karma-project",
|
|
"factory": "./src/generators/karma-project/karma-project",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/schema",
|
|
"$id": "NxKarmaProjectGenerator",
|
|
"title": "Create Karma Configuration for a project",
|
|
"description": "Add Karma configuration to an angular project.",
|
|
"cli": "nx",
|
|
"type": "object",
|
|
"properties": {
|
|
"project": {
|
|
"type": "string",
|
|
"description": "The name of the project.",
|
|
"x-dropdown": "projects",
|
|
"x-priority": "important"
|
|
},
|
|
"skipFormat": {
|
|
"description": "Skip formatting files.",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"x-priority": "internal"
|
|
},
|
|
"skipPackageJson": {
|
|
"description": "Skip updating package.json.",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"x-priority": "internal"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["project"],
|
|
"examplesFile": "## Examples\n\n{% tabs %}\n\n{% tab label=\"Basic Usage\" %}\n\nTo add karma to project, run the following command.\n\n```bash\nnx g @nrwl/angular:karma-project --project=myapp\n```\n\n{% /tab %}\n\n{% /tabs %}\n",
|
|
"presets": []
|
|
},
|
|
"description": "Adds Karma configuration to a project.",
|
|
"implementation": "/packages/angular/src/generators/karma-project/karma-project.ts",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/angular/src/generators/karma-project/schema.json",
|
|
"type": "generator"
|
|
}
|