durrrrrrrrrjs
Version:
36 lines (35 loc) • 845 B
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "NxTypescriptLibrary",
"cli": "nx",
"title": "Convert a tsc library to swc",
"type": "object",
"examples": [
{
"command": "g swc mylib",
"description": "Convert libs/myapp/mylib to swc"
}
],
"properties": {
"project": {
"type": "string",
"description": "Library name",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What name would you like to use for the library?",
"pattern": "^[a-zA-Z].*$"
},
"targets": {
"type": "array",
"description": "List of targets to convert",
"items": {
"type": "string",
"description": "Target to convert"
},
"default": ["build"]
}
},
"required": ["project"]
}