PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/nx/schemas

Просмотр файла: project-schema.json

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "https://nx.dev/project-schema",
  "title": "JSON schema for Nx projects",
  "type": "object",
  "properties": {
    "namedInputs": {
      "type": "object",
      "description": "Named inputs used by inputs defined in targets",
      "additionalProperties": {
        "$ref": "#/definitions/inputs"
      }
    },
    "targets": {
      "type": "object",
      "description": "Configures all the targets which define what tasks you can run against the project",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "executor": {
            "description": "The function that Nx will invoke when you run this target",
            "type": "string"
          },
          "options": {
            "type": "object"
          },
          "outputs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "defaultConfiguration": {
            "type": "string",
            "description": "The name of a configuration to use as the default if a configuration is not provided"
          },
          "configurations": {
            "type": "object",
            "description": "provides extra sets of values that will be merged into the options map",
            "additionalProperties": {
              "type": "object"
            }
          },
          "inputs": {
            "$ref": "#/definitions/inputs"
          },
          "dependsOn": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "projects": {
                      "type": "string",
                      "description": "The projects that the targets belong to.",
                      "enum": ["self", "dependencies"]
                    },
                    "target": {
                      "type": "string",
                      "description": "The name of the target."
                    },
                    "params": {
                      "type": "string",
                      "description": "Configuration for params handling.",
                      "enum": ["ignore", "forward"],
                      "default": "ignore"
                    }
                  },
                  "additionalProperties": false,
                  "required": ["projects", "target"]
                }
              ]
            }
          },
          "command": {
            "type": "string",
            "description": "A shorthand for using the nx:run-commands executor"
          }
        }
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "implicitDependencies": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "definitions": {
    "inputs": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "object",
            "properties": {
              "fileset": {
                "type": "string",
                "description": "A glob used to determine a fileset."
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "projects": {
                "type": "string",
                "description": "The projects that the input belong to.",
                "enum": ["self", "dependencies"]
              },
              "input": {
                "type": "string",
                "description": "Named input."
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "runtime": {
                "type": "string",
                "description": "The command that will be executed and included into the hash."
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "env": {
                "type": "string",
                "description": "The env var that will be included into the hash."
              }
            },
            "additionalProperties": false
          }
        ]
      }
    }
  }
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!