45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"name": "setup-tailwind",
|
|
"implementation": "/packages/remix/src/generators/setup-tailwind/setup-tailwind.impl.ts",
|
|
"schema": {
|
|
"$schema": "https://json-schema.org/schema",
|
|
"$id": "NxRemixTailwind",
|
|
"title": "Add TailwindCSS to a Remix App",
|
|
"description": "Setup tailwindcss for a given project.",
|
|
"type": "object",
|
|
"examples": [
|
|
{
|
|
"command": "g setup-tailwind --project=myapp",
|
|
"description": "Generate a TailwindCSS config for your Remix app"
|
|
}
|
|
],
|
|
"properties": {
|
|
"project": {
|
|
"type": "string",
|
|
"description": "The name of the project to add tailwind to",
|
|
"$default": { "$source": "projectName" },
|
|
"x-prompt": "What project would you like to add Tailwind to?",
|
|
"pattern": "^[a-zA-Z].*$"
|
|
},
|
|
"js": {
|
|
"type": "boolean",
|
|
"description": "Generate a JavaScript config file instead of a TypeScript config file",
|
|
"default": false
|
|
},
|
|
"skipFormat": {
|
|
"type": "boolean",
|
|
"description": "Skip formatting files after generator runs",
|
|
"default": false,
|
|
"x-priority": "internal"
|
|
}
|
|
},
|
|
"required": ["project"],
|
|
"presets": []
|
|
},
|
|
"description": "Generates a TailwindCSS configuration for the Remix application",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/remix/src/generators/setup-tailwind/schema.json",
|
|
"type": "generator"
|
|
}
|