123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- {
- "type": "object",
- "properties": {
- "serveIndex": {
- "type": "boolean"
- },
- "hot": {
- "type": "boolean"
- },
- "hotOnly": {
- "type": "boolean"
- },
- "lazy": {
- "type": "boolean"
- },
- "bonjour": {
- "type": "boolean"
- },
- "host": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "port": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "allowedHosts": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "filename": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "RegExp"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "publicPath": {
- "type": "string"
- },
- "socket": {
- "type": "string"
- },
- "sockPath": {
- "type": "string"
- },
- "watchOptions": {
- "type": "object"
- },
- "writeToDisk": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "headers": {
- "type": "object"
- },
- "logLevel": {
- "enum": ["info", "warn", "error", "debug", "trace", "silent"]
- },
- "clientLogLevel": {
- "enum": ["none", "info", "error", "warning"]
- },
- "overlay": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "object",
- "properties": {
- "errors": {
- "type": "boolean"
- },
- "warnings": {
- "type": "boolean"
- }
- }
- }
- ]
- },
- "progress": {
- "type": "boolean"
- },
- "key": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "cert": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "ca": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "pfx": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "pfxPassphrase": {
- "type": "string"
- },
- "requestCert": {
- "type": "boolean"
- },
- "inline": {
- "type": "boolean"
- },
- "disableHostCheck": {
- "type": "boolean"
- },
- "public": {
- "type": "string"
- },
- "https": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "http2": {
- "type": "boolean"
- },
- "contentBase": {
- "anyOf": [
- {
- "enum": [false]
- },
- {
- "type": "number"
- },
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- },
- "minItems": 1
- }
- ]
- },
- "watchContentBase": {
- "type": "boolean"
- },
- "open": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "useLocalIp": {
- "type": "boolean"
- },
- "openPage": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "compress": {
- "type": "boolean"
- },
- "proxy": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "minItems": 1
- }
- ]
- },
- "historyApiFallback": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "object"
- }
- ]
- },
- "staticOptions": {
- "type": "object"
- },
- "setup": {
- "instanceof": "Function"
- },
- "before": {
- "instanceof": "Function"
- },
- "after": {
- "instanceof": "Function"
- },
- "stats": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "boolean"
- },
- {
- "enum": ["none", "errors-only", "minimal", "normal", "verbose"]
- }
- ]
- },
- "reporter": {
- "instanceof": "Function"
- },
- "logTime": {
- "type": "boolean"
- },
- "noInfo": {
- "type": "boolean"
- },
- "mimeTypes": {
- "type": "object"
- },
- "quiet": {
- "type": "boolean"
- },
- "serverSideRender": {
- "type": "boolean"
- },
- "index": {
- "type": "string"
- },
- "log": {
- "instanceof": "Function"
- },
- "warn": {
- "instanceof": "Function"
- }
- },
- "errorMessage": {
- "properties": {
- "hot": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-hot)",
- "hotOnly": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-hotonly)",
- "lazy": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-lazy-)",
- "bonjour": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-bonjour)",
- "publicPath": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-publicpath-)",
- "host": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-host)",
- "allowedHosts": "should be {Array} (https://webpack.js.org/configuration/dev-server/#devserver-allowedhosts)",
- "logLevel": "should be {String} and equal to one of the allowed values\n\n [ 'trace', 'debug', 'info', 'warn', 'error', 'silent' ]\n\n(https://webpack.js.org/configuration/dev-server/#devserver-loglevel)",
- "filename": "should be {String|RegExp|Function} (https://webpack.js.org/configuration/dev-server/#devserver-filename-)",
- "port": "should be {String|Number} (https://webpack.js.org/configuration/dev-server/#devserver-port)",
- "socket": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-socket)",
- "sockPath": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-sockPath)",
- "watchOptions": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserver-watchoptions)",
- "writeToDisk": "should be {Boolean|Function} (https://github.com/webpack/webpack-dev-middleware#writetodisk)",
- "headers": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserver-headers-)",
- "clientLogLevel": "should be {String} and equal to one of the allowed values\n\n [ 'trace', 'debug', 'info', 'warn', 'error', 'silent' ]\n\n(https://webpack.js.org/configuration/dev-server/#devserver-clientloglevel)",
- "overlay": "should be {Object|Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-overlay)",
- "progress": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-progress-cli-only)",
- "key": "should be {String|Buffer} (https://webpack.js.org/configuration/dev-server/#devserver-key)",
- "cert": "should be {String|Buffer} (https://webpack.js.org/configuration/dev-server/#devserver-cert)",
- "ca": "should be {String|Buffer} (https://webpack.js.org/configuration/dev-server/#devserver-ca)",
- "pfx": "should be {String|Buffer} (https://webpack.js.org/configuration/dev-server/#devserver-pfx)",
- "pfxPassphrase": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-pfxpassphrase)",
- "requestCert": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-requestcert)",
- "inline": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-inline)",
- "disableHostCheck": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-disablehostcheck)",
- "public": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-public)",
- "https": "should be {Object|Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-https)",
- "http2": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-http2)",
- "contentBase": "should be {Array} (https://webpack.js.org/configuration/dev-server/#devserver-contentbase)",
- "watchContentBase": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-watchcontentbase)",
- "open": "should be {String|Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-open)",
- "useLocalIp": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-uselocalip)",
- "openPage": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-openpage)",
- "features": "should be {Array} (https://webpack.js.org/configuration/dev-server/#devserver-features)",
- "compress": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-compress)",
- "proxy": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-hot)",
- "historyApiFallback": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-historyapifallback)",
- "staticOptions": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-staticOptions)",
- "setup": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserver-setup)",
- "before": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserver-before)",
- "after": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserver-after)",
- "stats": "should be {Boolean|Object|String} (https://webpack.js.org/configuration/dev-server/#devserver-stats-)",
- "reporter": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserver-reporter)",
- "logTime": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-logtime)",
- "noInfo": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-noinfo-)",
- "mimeTypes": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devservermimetypes-)",
- "quiet": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-quiet-)",
- "serverSideRender": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserver-serversiderender)",
- "index": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserver-index)",
- "log": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserver-log)",
- "warn": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserver-warn)"
- }
- },
- "additionalProperties": false
- }
|