aiao-io/aiao

View on GitHub
libs/stencil-toolkit/src/lib/schematics/library/schema.json

Summary

Maintainability
Test Coverage
{
  "$schema": "http://json-schema.org/schema",
  "id": "SchematicsStencilLibrary",
  "title": "Create a stencil library",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Library name",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the library?"
    },
    "directory": {
      "description": "The directory of the new library",
      "type": "string"
    },
    "unitTestRunner": {
      "type": "string",
      "enum": ["jest", "none"],
      "description": "Test runner to use for unit tests",
      "default": "jest"
    },
    "tags": {
      "type": "string",
      "description": "Add tags to the library (used for linting)"
    }
  },
  "required": []
}