{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "https://json.schemastore.org/nycrc.json",
  "properties": {
    "extends": {
      "description": "Name of configuration to extend from.",
      "type": "string"
    },
    "all": {
      "description": "Whether or not to instrument all files (not just the ones touched by your test suite).",
      "type": "boolean",
      "default": false
    },
    "check-coverage": {
      "description": "Check whether coverage is within thresholds, fail if not",
      "type": "boolean",
      "default": false
    },
    "extension": {
      "description": "List of extensions that nyc should attempt to handle in addition to .js",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [".js", ".cjs", ".mjs", ".ts", ".tsx", ".jsx"]
    },
    "include": {
      "description": "List of files to include for coverage.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": ["**"]
    },
    "exclude": {
      "description": "List of files to exclude for coverage.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": ["coverage/**"]
    },
    "reporter": {
      "description": "The names of custom reporter to show coverage results.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": ["text"]
    },
    "report-dir": {
      "description": "Where to put the coverage report files.",
      "type": "string",
      "default": "./coverage"
    },
    "skip-full": {
      "description": "Don't show files with 100% statement, branch, and function coverage",
      "type": "boolean",
      "default": false
    },
    "temp-dir": {
      "description": "Directory to output raw coverage information to.",
      "type": "string",
      "default": "./.nyc_output"
    }
  },
  "type": "object"
}
