options.json 1009 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "additionalProperties": false,
  3. "type": "object",
  4. "definitions": {
  5. "MatchCondition": {
  6. "anyOf": [{ "instanceof": "RegExp", "tsType": "RegExp" }, { "$ref": "#/definitions/Path" }]
  7. },
  8. "MatchConditions": {
  9. "type": "array",
  10. "items": { "$ref": "#/definitions/MatchCondition" },
  11. "minItems": 1
  12. },
  13. "Path": { "type": "string" },
  14. "ESModuleOptions": {
  15. "additionalProperties": false,
  16. "type": "object",
  17. "properties": {
  18. "exclude": {
  19. "anyOf": [
  20. { "$ref": "#/definitions/MatchCondition" },
  21. { "$ref": "#/definitions/MatchConditions" }
  22. ]
  23. },
  24. "include": {
  25. "anyOf": [
  26. { "$ref": "#/definitions/MatchCondition" },
  27. { "$ref": "#/definitions/MatchConditions" }
  28. ]
  29. }
  30. }
  31. }
  32. },
  33. "properties": {
  34. "const": { "type": "boolean" },
  35. "esModule": { "anyOf": [{ "type": "boolean" }, { "$ref": "#/definitions/ESModuleOptions" }] }
  36. }
  37. }