123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499 |
- {
- "type": "object",
- "properties": {
- "after": {
- "instanceof": "Function"
- },
- "allowedHosts": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "before": {
- "instanceof": "Function"
- },
- "bonjour": {
- "type": "boolean"
- },
- "ca": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "cert": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "clientLogLevel": {
- "enum": [
- "info",
- "warn",
- "error",
- "debug",
- "trace",
- "silent",
- "none",
- "warning"
- ]
- },
- "compress": {
- "type": "boolean"
- },
- "contentBasePublicPath": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- },
- "minItems": 1
- }
- ]
- },
- "contentBase": {
- "anyOf": [
- {
- "enum": [false]
- },
- {
- "type": "number"
- },
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- },
- "minItems": 1
- }
- ]
- },
- "disableHostCheck": {
- "type": "boolean"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "filename": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "RegExp"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "fs": {
- "type": "object"
- },
- "headers": {
- "type": "object"
- },
- "historyApiFallback": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "object"
- }
- ]
- },
- "host": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "hot": {
- "type": "boolean"
- },
- "hotOnly": {
- "type": "boolean"
- },
- "http2": {
- "type": "boolean"
- },
- "https": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "index": {
- "type": "string"
- },
- "injectClient": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "injectHot": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "inline": {
- "type": "boolean"
- },
- "key": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "lazy": {
- "type": "boolean"
- },
- "liveReload": {
- "type": "boolean"
- },
- "log": {
- "instanceof": "Function"
- },
- "logLevel": {
- "enum": ["info", "warn", "error", "debug", "trace", "silent"]
- },
- "logTime": {
- "type": "boolean"
- },
- "mimeTypes": {
- "type": "object"
- },
- "noInfo": {
- "type": "boolean"
- },
- "onListening": {
- "instanceof": "Function"
- },
- "open": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "boolean"
- },
- {
- "type": "object"
- }
- ]
- },
- "openPage": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- },
- "minItems": 1
- }
- ]
- },
- "overlay": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "object",
- "properties": {
- "errors": {
- "type": "boolean"
- },
- "warnings": {
- "type": "boolean"
- }
- }
- }
- ]
- },
- "pfx": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- },
- "pfxPassphrase": {
- "type": "string"
- },
- "port": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "profile": {
- "type": "boolean"
- },
- "progress": {
- "type": "boolean"
- },
- "proxy": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "minItems": 1
- }
- ]
- },
- "public": {
- "type": "string"
- },
- "publicPath": {
- "type": "string"
- },
- "quiet": {
- "type": "boolean"
- },
- "reporter": {
- "instanceof": "Function"
- },
- "requestCert": {
- "type": "boolean"
- },
- "serveIndex": {
- "type": "boolean"
- },
- "serverSideRender": {
- "type": "boolean"
- },
- "setup": {
- "instanceof": "Function"
- },
- "sockHost": {
- "type": "string"
- },
- "sockPath": {
- "type": "string"
- },
- "sockPort": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "socket": {
- "type": "string"
- },
- "staticOptions": {
- "type": "object"
- },
- "stats": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "boolean"
- },
- {
- "enum": [
- "none",
- "errors-only",
- "errors-warnings",
- "minimal",
- "normal",
- "verbose"
- ]
- }
- ]
- },
- "transportMode": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "server": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Function"
- }
- ]
- }
- },
- "additionalProperties": false
- },
- {
- "enum": ["sockjs", "ws"]
- }
- ]
- },
- "useLocalIp": {
- "type": "boolean"
- },
- "warn": {
- "instanceof": "Function"
- },
- "watchContentBase": {
- "type": "boolean"
- },
- "watchOptions": {
- "type": "object"
- },
- "writeToDisk": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "instanceof": "Function"
- }
- ]
- }
- },
- "errorMessage": {
- "properties": {
- "after": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserverafter)",
- "allowedHosts": "should be {Array} (https://webpack.js.org/configuration/dev-server/#devserverallowedhosts)",
- "before": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserverbefore)",
- "bonjour": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverbonjour)",
- "ca": "should be {String|Buffer}",
- "cert": "should be {String|Buffer}",
- "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)",
- "compress": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devservercompress)",
- "contentBase": "should be {Number|String|Array} (https://webpack.js.org/configuration/dev-server/#devservercontentbase)",
- "disableHostCheck": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverdisablehostcheck)",
- "features": "should be {Array}",
- "filename": "should be {String|RegExp|Function} (https://webpack.js.org/configuration/dev-server/#devserverfilename-)",
- "fs": "should be {Object} (https://github.com/webpack/webpack-dev-middleware#fs)",
- "headers": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverheaders-)",
- "historyApiFallback": "should be {Boolean|Object} (https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback)",
- "host": "should be {String|Null} (https://webpack.js.org/configuration/dev-server/#devserverhost)",
- "hot": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhot)",
- "hotOnly": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhotonly)",
- "http2": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhttp2)",
- "https": "should be {Object|Boolean} (https://webpack.js.org/configuration/dev-server/#devserverhttps)",
- "index": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverindex)",
- "injectClient": "should be {Boolean|Function} (https://webpack.js.org/configuration/dev-server/#devserverinjectclient)",
- "injectHot": "should be {Boolean|Function} (https://webpack.js.org/configuration/dev-server/#devserverinjecthot)",
- "inline": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverinline)",
- "key": "should be {String|Buffer}",
- "lazy": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverlazy-)",
- "liveReload": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverlivereload-)",
- "log": "should be {Function}",
- "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)",
- "logTime": "should be {Boolean} (https://github.com/webpack/webpack-dev-middleware#logtime)",
- "mimeTypes": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devservermimetypes-)",
- "noInfo": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devservernoinfo-)",
- "onListening": "should be {Function} (https://webpack.js.org/configuration/dev-server/#onlistening)",
- "open": "should be {String|Boolean|Object} (https://webpack.js.org/configuration/dev-server/#devserveropen)",
- "openPage": "should be {String|Array} (https://webpack.js.org/configuration/dev-server/#devserveropenpage)",
- "overlay": "should be {Boolean|Object} (https://webpack.js.org/configuration/dev-server/#devserveroverlay)",
- "pfx": "should be {String|Buffer} (https://webpack.js.org/configuration/dev-server/#devserverpfx)",
- "pfxPassphrase": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverpfxpassphrase)",
- "port": "should be {Number|String|Null} (https://webpack.js.org/configuration/dev-server/#devserverport)",
- "profile": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverprofile)",
- "progress": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverprogress---cli-only)",
- "proxy": "should be {Object|Array} (https://webpack.js.org/configuration/dev-server/#devserverproxy)",
- "public": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverpublic)",
- "publicPath": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverpublicpath-)",
- "quiet": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverquiet-)",
- "reporter": "should be {Function} (https://github.com/webpack/webpack-dev-middleware#reporter)",
- "requestCert": "should be {Boolean}",
- "contentBasePublicPath": "should be {String|Array} (https://webpack.js.org/configuration/dev-server/#devservercontentbasepublicpath)",
- "serveIndex": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverserveindex)",
- "serverSideRender": "should be {Boolean} (https://github.com/webpack/webpack-dev-middleware#serversiderender)",
- "setup": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserversetup)",
- "sockHost": "should be {String|Null} (https://webpack.js.org/configuration/dev-server/#devserversockhost)",
- "sockPath": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserversockpath)",
- "sockPort": "should be {Number|String|Null} (https://webpack.js.org/configuration/dev-server/#devserversockport)",
- "socket": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserversocket)",
- "staticOptions": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverstaticoptions)",
- "stats": "should be {Object|Boolean} (https://webpack.js.org/configuration/dev-server/#devserverstats-)",
- "transportMode": "should be {String|Object} (https://webpack.js.org/configuration/dev-server/#devservertransportmode)",
- "useLocalIp": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserveruselocalip)",
- "warn": "should be {Function}",
- "watchContentBase": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverwatchcontentbase)",
- "watchOptions": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverwatchoptions-)",
- "writeToDisk": "should be {Boolean|Function} (https://webpack.js.org/configuration/dev-server/#devserverwritetodisk-)"
- }
- },
- "additionalProperties": false
- }
|