options.json 785 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "type": "object",
  3. "properties": {
  4. "config": {
  5. "type": "object",
  6. "properties": {
  7. "path": {
  8. "type": "string"
  9. },
  10. "ctx": {
  11. "type": "object"
  12. }
  13. },
  14. "additionalProperties": false
  15. },
  16. "exec": {
  17. "type": "boolean"
  18. },
  19. "ident": {
  20. "type": "string"
  21. },
  22. "parser": {
  23. "type": [ "string", "object" ]
  24. },
  25. "syntax": {
  26. "type": [ "string", "object" ]
  27. },
  28. "stringifier": {
  29. "type": [ "string", "object" ]
  30. },
  31. "plugins": {
  32. "anyOf": [
  33. { "type": "array" },
  34. { "type": "object" },
  35. { "instanceof": "Function" }
  36. ]
  37. },
  38. "sourceMap": {
  39. "type": [ "string", "boolean" ]
  40. }
  41. },
  42. "additionalProperties": true
  43. }