@nx/angular
Version:
43 lines (42 loc) • 1.65 kB
JSON
{
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularTailwindSetupGenerator",
"cli": "nx",
"title": "Configures Tailwind CSS for an application or a buildable/publishable library.",
"description": "Adds the Tailwind CSS configuration files for a given Angular project and installs, if needed, the packages required for Tailwind CSS to work.",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project to add the Tailwind CSS setup for.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What project would you like to add the Tailwind CSS setup?"
},
"buildTarget": {
"type": "string",
"description": "The name of the target used to build the project. This option only applies to buildable/publishable libraries.",
"default": "build"
},
"skipFormat": {
"type": "boolean",
"description": "Skips formatting the workspace after the generator completes.",
"x-priority": "internal"
},
"stylesEntryPoint": {
"type": "string",
"description": "Path to the styles entry point relative to the workspace root. If not provided the generator will do its best to find it and it will error if it can't. This option only applies to applications."
},
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
}
},
"additionalProperties": false,
"required": ["project"],
"examplesFile": "../../../docs/setup-tailwind-examples.md"
}