[6a3a178] | 1 | {
|
---|
| 2 | "type": "object",
|
---|
| 3 | "properties": {
|
---|
| 4 | "after": {
|
---|
| 5 | "instanceof": "Function"
|
---|
| 6 | },
|
---|
| 7 | "allowedHosts": {
|
---|
| 8 | "type": "array",
|
---|
| 9 | "items": {
|
---|
| 10 | "type": "string"
|
---|
| 11 | }
|
---|
| 12 | },
|
---|
| 13 | "before": {
|
---|
| 14 | "instanceof": "Function"
|
---|
| 15 | },
|
---|
| 16 | "bonjour": {
|
---|
| 17 | "type": "boolean"
|
---|
| 18 | },
|
---|
| 19 | "ca": {
|
---|
| 20 | "anyOf": [
|
---|
| 21 | {
|
---|
| 22 | "type": "string"
|
---|
| 23 | },
|
---|
| 24 | {
|
---|
| 25 | "instanceof": "Buffer"
|
---|
| 26 | }
|
---|
| 27 | ]
|
---|
| 28 | },
|
---|
| 29 | "cert": {
|
---|
| 30 | "anyOf": [
|
---|
| 31 | {
|
---|
| 32 | "type": "string"
|
---|
| 33 | },
|
---|
| 34 | {
|
---|
| 35 | "instanceof": "Buffer"
|
---|
| 36 | }
|
---|
| 37 | ]
|
---|
| 38 | },
|
---|
| 39 | "clientLogLevel": {
|
---|
| 40 | "enum": [
|
---|
| 41 | "info",
|
---|
| 42 | "warn",
|
---|
| 43 | "error",
|
---|
| 44 | "debug",
|
---|
| 45 | "trace",
|
---|
| 46 | "silent",
|
---|
| 47 | "none",
|
---|
| 48 | "warning"
|
---|
| 49 | ]
|
---|
| 50 | },
|
---|
| 51 | "compress": {
|
---|
| 52 | "type": "boolean"
|
---|
| 53 | },
|
---|
| 54 | "contentBasePublicPath": {
|
---|
| 55 | "anyOf": [
|
---|
| 56 | {
|
---|
| 57 | "type": "string"
|
---|
| 58 | },
|
---|
| 59 | {
|
---|
| 60 | "type": "array",
|
---|
| 61 | "items": {
|
---|
| 62 | "type": "string"
|
---|
| 63 | },
|
---|
| 64 | "minItems": 1
|
---|
| 65 | }
|
---|
| 66 | ]
|
---|
| 67 | },
|
---|
| 68 | "contentBase": {
|
---|
| 69 | "anyOf": [
|
---|
| 70 | {
|
---|
| 71 | "enum": [false]
|
---|
| 72 | },
|
---|
| 73 | {
|
---|
| 74 | "type": "number"
|
---|
| 75 | },
|
---|
| 76 | {
|
---|
| 77 | "type": "string"
|
---|
| 78 | },
|
---|
| 79 | {
|
---|
| 80 | "type": "array",
|
---|
| 81 | "items": {
|
---|
| 82 | "type": "string"
|
---|
| 83 | },
|
---|
| 84 | "minItems": 1
|
---|
| 85 | }
|
---|
| 86 | ]
|
---|
| 87 | },
|
---|
| 88 | "disableHostCheck": {
|
---|
| 89 | "type": "boolean"
|
---|
| 90 | },
|
---|
| 91 | "features": {
|
---|
| 92 | "type": "array",
|
---|
| 93 | "items": {
|
---|
| 94 | "type": "string"
|
---|
| 95 | }
|
---|
| 96 | },
|
---|
| 97 | "filename": {
|
---|
| 98 | "anyOf": [
|
---|
| 99 | {
|
---|
| 100 | "type": "string"
|
---|
| 101 | },
|
---|
| 102 | {
|
---|
| 103 | "instanceof": "RegExp"
|
---|
| 104 | },
|
---|
| 105 | {
|
---|
| 106 | "instanceof": "Function"
|
---|
| 107 | }
|
---|
| 108 | ]
|
---|
| 109 | },
|
---|
| 110 | "fs": {
|
---|
| 111 | "type": "object"
|
---|
| 112 | },
|
---|
| 113 | "headers": {
|
---|
| 114 | "type": "object"
|
---|
| 115 | },
|
---|
| 116 | "historyApiFallback": {
|
---|
| 117 | "anyOf": [
|
---|
| 118 | {
|
---|
| 119 | "type": "boolean"
|
---|
| 120 | },
|
---|
| 121 | {
|
---|
| 122 | "type": "object"
|
---|
| 123 | }
|
---|
| 124 | ]
|
---|
| 125 | },
|
---|
| 126 | "host": {
|
---|
| 127 | "anyOf": [
|
---|
| 128 | {
|
---|
| 129 | "type": "string"
|
---|
| 130 | },
|
---|
| 131 | {
|
---|
| 132 | "type": "null"
|
---|
| 133 | }
|
---|
| 134 | ]
|
---|
| 135 | },
|
---|
| 136 | "hot": {
|
---|
| 137 | "type": "boolean"
|
---|
| 138 | },
|
---|
| 139 | "hotOnly": {
|
---|
| 140 | "type": "boolean"
|
---|
| 141 | },
|
---|
| 142 | "http2": {
|
---|
| 143 | "type": "boolean"
|
---|
| 144 | },
|
---|
| 145 | "https": {
|
---|
| 146 | "anyOf": [
|
---|
| 147 | {
|
---|
| 148 | "type": "object"
|
---|
| 149 | },
|
---|
| 150 | {
|
---|
| 151 | "type": "boolean"
|
---|
| 152 | }
|
---|
| 153 | ]
|
---|
| 154 | },
|
---|
| 155 | "index": {
|
---|
| 156 | "type": "string"
|
---|
| 157 | },
|
---|
| 158 | "injectClient": {
|
---|
| 159 | "anyOf": [
|
---|
| 160 | {
|
---|
| 161 | "type": "boolean"
|
---|
| 162 | },
|
---|
| 163 | {
|
---|
| 164 | "instanceof": "Function"
|
---|
| 165 | }
|
---|
| 166 | ]
|
---|
| 167 | },
|
---|
| 168 | "injectHot": {
|
---|
| 169 | "anyOf": [
|
---|
| 170 | {
|
---|
| 171 | "type": "boolean"
|
---|
| 172 | },
|
---|
| 173 | {
|
---|
| 174 | "instanceof": "Function"
|
---|
| 175 | }
|
---|
| 176 | ]
|
---|
| 177 | },
|
---|
| 178 | "inline": {
|
---|
| 179 | "type": "boolean"
|
---|
| 180 | },
|
---|
| 181 | "key": {
|
---|
| 182 | "anyOf": [
|
---|
| 183 | {
|
---|
| 184 | "type": "string"
|
---|
| 185 | },
|
---|
| 186 | {
|
---|
| 187 | "instanceof": "Buffer"
|
---|
| 188 | }
|
---|
| 189 | ]
|
---|
| 190 | },
|
---|
| 191 | "lazy": {
|
---|
| 192 | "type": "boolean"
|
---|
| 193 | },
|
---|
| 194 | "liveReload": {
|
---|
| 195 | "type": "boolean"
|
---|
| 196 | },
|
---|
| 197 | "log": {
|
---|
| 198 | "instanceof": "Function"
|
---|
| 199 | },
|
---|
| 200 | "logLevel": {
|
---|
| 201 | "enum": ["info", "warn", "error", "debug", "trace", "silent"]
|
---|
| 202 | },
|
---|
| 203 | "logTime": {
|
---|
| 204 | "type": "boolean"
|
---|
| 205 | },
|
---|
| 206 | "mimeTypes": {
|
---|
| 207 | "type": "object"
|
---|
| 208 | },
|
---|
| 209 | "noInfo": {
|
---|
| 210 | "type": "boolean"
|
---|
| 211 | },
|
---|
| 212 | "onListening": {
|
---|
| 213 | "instanceof": "Function"
|
---|
| 214 | },
|
---|
| 215 | "open": {
|
---|
| 216 | "anyOf": [
|
---|
| 217 | {
|
---|
| 218 | "type": "string"
|
---|
| 219 | },
|
---|
| 220 | {
|
---|
| 221 | "type": "boolean"
|
---|
| 222 | },
|
---|
| 223 | {
|
---|
| 224 | "type": "object"
|
---|
| 225 | }
|
---|
| 226 | ]
|
---|
| 227 | },
|
---|
| 228 | "openPage": {
|
---|
| 229 | "anyOf": [
|
---|
| 230 | {
|
---|
| 231 | "type": "string"
|
---|
| 232 | },
|
---|
| 233 | {
|
---|
| 234 | "type": "array",
|
---|
| 235 | "items": {
|
---|
| 236 | "type": "string"
|
---|
| 237 | },
|
---|
| 238 | "minItems": 1
|
---|
| 239 | }
|
---|
| 240 | ]
|
---|
| 241 | },
|
---|
| 242 | "overlay": {
|
---|
| 243 | "anyOf": [
|
---|
| 244 | {
|
---|
| 245 | "type": "boolean"
|
---|
| 246 | },
|
---|
| 247 | {
|
---|
| 248 | "type": "object",
|
---|
| 249 | "properties": {
|
---|
| 250 | "errors": {
|
---|
| 251 | "type": "boolean"
|
---|
| 252 | },
|
---|
| 253 | "warnings": {
|
---|
| 254 | "type": "boolean"
|
---|
| 255 | }
|
---|
| 256 | }
|
---|
| 257 | }
|
---|
| 258 | ]
|
---|
| 259 | },
|
---|
| 260 | "pfx": {
|
---|
| 261 | "anyOf": [
|
---|
| 262 | {
|
---|
| 263 | "type": "string"
|
---|
| 264 | },
|
---|
| 265 | {
|
---|
| 266 | "instanceof": "Buffer"
|
---|
| 267 | }
|
---|
| 268 | ]
|
---|
| 269 | },
|
---|
| 270 | "pfxPassphrase": {
|
---|
| 271 | "type": "string"
|
---|
| 272 | },
|
---|
| 273 | "port": {
|
---|
| 274 | "anyOf": [
|
---|
| 275 | {
|
---|
| 276 | "type": "number"
|
---|
| 277 | },
|
---|
| 278 | {
|
---|
| 279 | "type": "string"
|
---|
| 280 | },
|
---|
| 281 | {
|
---|
| 282 | "type": "null"
|
---|
| 283 | }
|
---|
| 284 | ]
|
---|
| 285 | },
|
---|
| 286 | "profile": {
|
---|
| 287 | "type": "boolean"
|
---|
| 288 | },
|
---|
| 289 | "progress": {
|
---|
| 290 | "type": "boolean"
|
---|
| 291 | },
|
---|
| 292 | "proxy": {
|
---|
| 293 | "anyOf": [
|
---|
| 294 | {
|
---|
| 295 | "type": "object"
|
---|
| 296 | },
|
---|
| 297 | {
|
---|
| 298 | "type": "array",
|
---|
| 299 | "items": {
|
---|
| 300 | "anyOf": [
|
---|
| 301 | {
|
---|
| 302 | "type": "object"
|
---|
| 303 | },
|
---|
| 304 | {
|
---|
| 305 | "instanceof": "Function"
|
---|
| 306 | }
|
---|
| 307 | ]
|
---|
| 308 | },
|
---|
| 309 | "minItems": 1
|
---|
| 310 | }
|
---|
| 311 | ]
|
---|
| 312 | },
|
---|
| 313 | "public": {
|
---|
| 314 | "type": "string"
|
---|
| 315 | },
|
---|
| 316 | "publicPath": {
|
---|
| 317 | "type": "string"
|
---|
| 318 | },
|
---|
| 319 | "quiet": {
|
---|
| 320 | "type": "boolean"
|
---|
| 321 | },
|
---|
| 322 | "reporter": {
|
---|
| 323 | "instanceof": "Function"
|
---|
| 324 | },
|
---|
| 325 | "requestCert": {
|
---|
| 326 | "type": "boolean"
|
---|
| 327 | },
|
---|
| 328 | "serveIndex": {
|
---|
| 329 | "type": "boolean"
|
---|
| 330 | },
|
---|
| 331 | "serverSideRender": {
|
---|
| 332 | "type": "boolean"
|
---|
| 333 | },
|
---|
| 334 | "setup": {
|
---|
| 335 | "instanceof": "Function"
|
---|
| 336 | },
|
---|
| 337 | "sockHost": {
|
---|
| 338 | "type": "string"
|
---|
| 339 | },
|
---|
| 340 | "sockPath": {
|
---|
| 341 | "type": "string"
|
---|
| 342 | },
|
---|
| 343 | "sockPort": {
|
---|
| 344 | "anyOf": [
|
---|
| 345 | {
|
---|
| 346 | "type": "number"
|
---|
| 347 | },
|
---|
| 348 | {
|
---|
| 349 | "type": "string"
|
---|
| 350 | },
|
---|
| 351 | {
|
---|
| 352 | "type": "null"
|
---|
| 353 | }
|
---|
| 354 | ]
|
---|
| 355 | },
|
---|
| 356 | "socket": {
|
---|
| 357 | "type": "string"
|
---|
| 358 | },
|
---|
| 359 | "staticOptions": {
|
---|
| 360 | "type": "object"
|
---|
| 361 | },
|
---|
| 362 | "stats": {
|
---|
| 363 | "anyOf": [
|
---|
| 364 | {
|
---|
| 365 | "type": "object"
|
---|
| 366 | },
|
---|
| 367 | {
|
---|
| 368 | "type": "boolean"
|
---|
| 369 | },
|
---|
| 370 | {
|
---|
| 371 | "enum": [
|
---|
| 372 | "none",
|
---|
| 373 | "errors-only",
|
---|
| 374 | "errors-warnings",
|
---|
| 375 | "minimal",
|
---|
| 376 | "normal",
|
---|
| 377 | "verbose"
|
---|
| 378 | ]
|
---|
| 379 | }
|
---|
| 380 | ]
|
---|
| 381 | },
|
---|
| 382 | "transportMode": {
|
---|
| 383 | "anyOf": [
|
---|
| 384 | {
|
---|
| 385 | "type": "object",
|
---|
| 386 | "properties": {
|
---|
| 387 | "client": {
|
---|
| 388 | "type": "string"
|
---|
| 389 | },
|
---|
| 390 | "server": {
|
---|
| 391 | "anyOf": [
|
---|
| 392 | {
|
---|
| 393 | "type": "string"
|
---|
| 394 | },
|
---|
| 395 | {
|
---|
| 396 | "instanceof": "Function"
|
---|
| 397 | }
|
---|
| 398 | ]
|
---|
| 399 | }
|
---|
| 400 | },
|
---|
| 401 | "additionalProperties": false
|
---|
| 402 | },
|
---|
| 403 | {
|
---|
| 404 | "enum": ["sockjs", "ws"]
|
---|
| 405 | }
|
---|
| 406 | ]
|
---|
| 407 | },
|
---|
| 408 | "useLocalIp": {
|
---|
| 409 | "type": "boolean"
|
---|
| 410 | },
|
---|
| 411 | "warn": {
|
---|
| 412 | "instanceof": "Function"
|
---|
| 413 | },
|
---|
| 414 | "watchContentBase": {
|
---|
| 415 | "type": "boolean"
|
---|
| 416 | },
|
---|
| 417 | "watchOptions": {
|
---|
| 418 | "type": "object"
|
---|
| 419 | },
|
---|
| 420 | "writeToDisk": {
|
---|
| 421 | "anyOf": [
|
---|
| 422 | {
|
---|
| 423 | "type": "boolean"
|
---|
| 424 | },
|
---|
| 425 | {
|
---|
| 426 | "instanceof": "Function"
|
---|
| 427 | }
|
---|
| 428 | ]
|
---|
| 429 | }
|
---|
| 430 | },
|
---|
| 431 | "errorMessage": {
|
---|
| 432 | "properties": {
|
---|
| 433 | "after": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserverafter)",
|
---|
| 434 | "allowedHosts": "should be {Array} (https://webpack.js.org/configuration/dev-server/#devserverallowedhosts)",
|
---|
| 435 | "before": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserverbefore)",
|
---|
| 436 | "bonjour": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverbonjour)",
|
---|
| 437 | "ca": "should be {String|Buffer}",
|
---|
| 438 | "cert": "should be {String|Buffer}",
|
---|
| 439 | "clientLogLevel": "should be {String} and equal to one of the allowed values\n\n [ 'none', 'silent', 'info', 'debug', 'trace', 'error', 'warning', 'warn' ]\n\n (https://webpack.js.org/configuration/dev-server/#devserverclientloglevel)",
|
---|
| 440 | "compress": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devservercompress)",
|
---|
| 441 | "contentBase": "should be {Number|String|Array} (https://webpack.js.org/configuration/dev-server/#devservercontentbase)",
|
---|
| 442 | "disableHostCheck": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverdisablehostcheck)",
|
---|
| 443 | "features": "should be {Array}",
|
---|
| 444 | "filename": "should be {String|RegExp|Function} (https://webpack.js.org/configuration/dev-server/#devserverfilename-)",
|
---|
| 445 | "fs": "should be {Object} (https://github.com/webpack/webpack-dev-middleware#fs)",
|
---|
| 446 | "headers": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverheaders-)",
|
---|
| 447 | "historyApiFallback": "should be {Boolean|Object} (https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback)",
|
---|
| 448 | "host": "should be {String|Null} (https://webpack.js.org/configuration/dev-server/#devserverhost)",
|
---|
| 449 | "hot": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhot)",
|
---|
| 450 | "hotOnly": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhotonly)",
|
---|
| 451 | "http2": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhttp2)",
|
---|
| 452 | "https": "should be {Object|Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhttps)",
|
---|
| 453 | "index": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverindex)",
|
---|
| 454 | "injectClient": "should be {Boolean|Function} (https://webpack.js.org/configuration/dev-server/#devserverinjectclient)",
|
---|
| 455 | "injectHot": "should be {Boolean|Function} (https://webpack.js.org/configuration/dev-server/#devserverinjecthot)",
|
---|
| 456 | "inline": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverinline)",
|
---|
| 457 | "key": "should be {String|Buffer}",
|
---|
| 458 | "lazy": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverlazy-)",
|
---|
| 459 | "liveReload": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverlivereload-)",
|
---|
| 460 | "log": "should be {Function}",
|
---|
| 461 | "logLevel": "should be {String} and equal to one of the allowed values\n\n [ 'info', 'warn', 'error', 'debug', 'trace', 'silent' ]\n\n (https://github.com/webpack/webpack-dev-middleware#loglevel)",
|
---|
| 462 | "logTime": "should be {Boolean} (https://github.com/webpack/webpack-dev-middleware#logtime)",
|
---|
| 463 | "mimeTypes": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devservermimetypes-)",
|
---|
| 464 | "noInfo": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devservernoinfo-)",
|
---|
| 465 | "onListening": "should be {Function} (https://webpack.js.org/configuration/dev-server/#onlistening)",
|
---|
| 466 | "open": "should be {String|Boolean|Object} (https://webpack.js.org/configuration/dev-server/#devserveropen)",
|
---|
| 467 | "openPage": "should be {String|Array} (https://webpack.js.org/configuration/dev-server/#devserveropenpage)",
|
---|
| 468 | "overlay": "should be {Boolean|Object} (https://webpack.js.org/configuration/dev-server/#devserveroverlay)",
|
---|
| 469 | "pfx": "should be {String|Buffer} (https://webpack.js.org/configuration/dev-server/#devserverpfx)",
|
---|
| 470 | "pfxPassphrase": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverpfxpassphrase)",
|
---|
| 471 | "port": "should be {Number|String|Null} (https://webpack.js.org/configuration/dev-server/#devserverport)",
|
---|
| 472 | "profile": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverprofile)",
|
---|
| 473 | "progress": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverprogress---cli-only)",
|
---|
| 474 | "proxy": "should be {Object|Array} (https://webpack.js.org/configuration/dev-server/#devserverproxy)",
|
---|
| 475 | "public": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverpublic)",
|
---|
| 476 | "publicPath": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverpublicpath-)",
|
---|
| 477 | "quiet": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverquiet-)",
|
---|
| 478 | "reporter": "should be {Function} (https://github.com/webpack/webpack-dev-middleware#reporter)",
|
---|
| 479 | "requestCert": "should be {Boolean}",
|
---|
| 480 | "contentBasePublicPath": "should be {String|Array} (https://webpack.js.org/configuration/dev-server/#devservercontentbasepublicpath)",
|
---|
| 481 | "serveIndex": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverserveindex)",
|
---|
| 482 | "serverSideRender": "should be {Boolean} (https://github.com/webpack/webpack-dev-middleware#serversiderender)",
|
---|
| 483 | "setup": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserversetup)",
|
---|
| 484 | "sockHost": "should be {String|Null} (https://webpack.js.org/configuration/dev-server/#devserversockhost)",
|
---|
| 485 | "sockPath": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserversockpath)",
|
---|
| 486 | "sockPort": "should be {Number|String|Null} (https://webpack.js.org/configuration/dev-server/#devserversockport)",
|
---|
| 487 | "socket": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserversocket)",
|
---|
| 488 | "staticOptions": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverstaticoptions)",
|
---|
| 489 | "stats": "should be {Object|Boolean} (https://webpack.js.org/configuration/dev-server/#devserverstats-)",
|
---|
| 490 | "transportMode": "should be {String|Object} (https://webpack.js.org/configuration/dev-server/#devservertransportmode)",
|
---|
| 491 | "useLocalIp": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserveruselocalip)",
|
---|
| 492 | "warn": "should be {Function}",
|
---|
| 493 | "watchContentBase": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverwatchcontentbase)",
|
---|
| 494 | "watchOptions": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverwatchoptions-)",
|
---|
| 495 | "writeToDisk": "should be {Boolean|Function} (https://webpack.js.org/configuration/dev-server/#devserverwritetodisk-)"
|
---|
| 496 | }
|
---|
| 497 | },
|
---|
| 498 | "additionalProperties": false
|
---|
| 499 | }
|
---|