options.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "type": "object",
  3. "properties": {
  4. "test": {},
  5. "include": {},
  6. "exclude": {},
  7. "cache": {
  8. "oneOf": [
  9. { "type": "boolean" },
  10. { "type": "string" }
  11. ]
  12. },
  13. "cacheKeys": {
  14. "instanceof": "Function"
  15. },
  16. "parallel": {
  17. "oneOf": [
  18. { "type": "boolean" },
  19. { "type": "integer" }
  20. ]
  21. },
  22. "sourceMap": {
  23. "type": "boolean"
  24. },
  25. "minify": {
  26. "instanceof": "Function"
  27. },
  28. "uglifyOptions": {
  29. "additionalProperties": true,
  30. "type": "object",
  31. "properties": {
  32. "ecma": {
  33. "type": "integer",
  34. "minimum": 5,
  35. "maximum": 8
  36. },
  37. "warnings": {
  38. "type": ["boolean", "string"],
  39. "enum": [true, false, "verbose"]
  40. },
  41. "ie8": {
  42. "type": "boolean"
  43. },
  44. "parse": {
  45. "type": "object"
  46. },
  47. "compress": {
  48. "type": ["boolean", "object"]
  49. },
  50. "mangle": {
  51. "type": ["boolean", "object"],
  52. "properties": {
  53. "properties": {
  54. "type": ["boolean", "object"]
  55. }
  56. }
  57. },
  58. "output": {
  59. "type": ["object", "null"]
  60. },
  61. "toplevel": {
  62. "type": "boolean"
  63. },
  64. "nameCache": {
  65. "type": ["object", "null"]
  66. }
  67. }
  68. },
  69. "extractComments": {},
  70. "warningsFilter": {}
  71. },
  72. "additionalProperties": false
  73. }