You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

584 lines
15 KiB

8 months ago
{
"config": {
"session": {
"maxAge": 86400000,
"key": "EGG_SESS",
"httpOnly": true,
"encrypt": true,
"logValue": true,
"overwrite": true,
"signed": true,
"autoCommit": true,
"encode": "<Function encode>",
"decode": "<Function decode>",
"genid": "<Function v4>"
},
"security": {
"domainWhiteList": [],
"protocolWhiteList": [],
"defaultMiddleware": "csrf,hsts,methodnoallow,noopen,nosniff,csp,xssProtection,xframe,dta",
"csrf": {
"enable": true,
"type": "ctoken",
"ignoreJSON": false,
"useSession": false,
"cookieName": "csrfToken",
"sessionName": "csrfToken",
"headerName": "x-csrf-token",
"bodyName": "_csrf",
"queryName": "_csrf",
"supportedRequests": [
{
"path": {},
"methods": [
"POST",
"PATCH",
"DELETE",
"PUT",
"CONNECT"
]
}
],
"refererWhiteList": [],
"matching": "<Function anonymous>"
},
"xframe": {
"enable": true,
"value": "SAMEORIGIN",
"matching": "<Function anonymous>"
},
"hsts": {
"enable": false,
"maxAge": 31536000,
"includeSubdomains": false
},
"dta": {
"enable": true,
"matching": "<Function anonymous>"
},
"methodnoallow": {
"enable": true,
"matching": "<Function anonymous>"
},
"noopen": {
"enable": true,
"matching": "<Function anonymous>"
},
"nosniff": {
"enable": true,
"matching": "<Function anonymous>"
},
"referrerPolicy": {
"enable": false,
"value": "no-referrer-when-downgrade"
},
"xssProtection": {
"enable": true,
"value": "1; mode=block",
"matching": "<Function anonymous>"
},
"csp": {
"enable": false,
"policy": {}
},
"ssrf": {
"ipBlackList": null,
"ipExceptionList": null,
"checkAddress": null
},
"_protocolWhiteListSet": "<Set>"
},
"helper": {
"shtml": {}
},
"jsonp": {
"limit": 50,
"callback": [
"_callback",
"callback"
],
"csrf": false
},
"onerror": {
"errorPageUrl": "",
"appErrorFilter": null,
"templatePath": "F:\\code\\demo\\node_modules\\egg-onerror\\lib\\onerror_page.mustache"
},
"i18n": {
"defaultLocale": "en_US",
"dirs": [
"F:\\code\\demo\\node_modules\\egg-session\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-security\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-jsonp\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-onerror\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-i18n\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-watcher\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-schedule\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-multipart\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-development\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-logrotator\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-static\\config\\locales",
"F:\\code\\demo\\node_modules\\egg-view\\config\\locales",
"F:\\code\\demo\\node_modules\\egg\\config\\locales",
"F:\\code\\demo\\config\\locales"
],
"queryField": "locale",
"cookieField": "locale",
"cookieDomain": "",
"cookieMaxAge": "1y",
"functionName": "__"
},
"watcher": {
"type": "development",
"eventSources": {
"default": "F:\\code\\demo\\node_modules\\egg-watcher\\lib\\event-sources\\default",
"development": "F:\\code\\demo\\node_modules\\egg-watcher\\lib\\event-sources\\development"
}
},
"customLogger": {
"scheduleLogger": {
"consoleLevel": "NONE",
"file": "egg-schedule.log"
}
},
"schedule": {
"directory": []
},
"multipart": {
"mode": "stream",
"autoFields": false,
"defaultCharset": "utf8",
"defaultParamCharset": "utf8",
"fieldNameSize": 100,
"fieldSize": 102400,
"fields": 10,
"fileSize": 10485760,
"files": 10,
"fileExtensions": [],
"whitelist": null,
"allowArrayField": false,
"tmpdir": "C:\\Users\\lichong\\AppData\\Local\\Temp\\egg-multipart-tmp\\mqtttohttp",
"cleanSchedule": {
"cron": "0 30 4 * * *",
"disable": false
},
"checkFile": "<Function anonymous>"
},
"development": {
"watchDirs": [],
"ignoreDirs": [],
"fastReady": false,
"reloadOnDebug": true,
"overrideDefault": false,
"overrideIgnore": false
},
"logrotator": {
"filesRotateByHour": null,
"hourDelimiter": "-",
"filesRotateBySize": null,
"maxFileSize": 52428800,
"maxFiles": 10,
"rotateDuration": 60000,
"maxDays": 31
},
"static": {
"prefix": "/public/",
"dir": "F:\\code\\demo\\app\\public",
"dynamic": true,
"preload": false,
"buffer": false,
"maxFiles": 1000
},
"view": {
"root": "F:\\code\\demo\\app\\view",
"cache": false,
"defaultExtension": ".html",
"defaultViewEngine": "",
"mapping": {}
},
"env": "local",
"name": "mqtttohttp",
"keys": "<String len: 29>",
"cookies": {},
"proxy": false,
"maxIpsCount": 0,
"maxProxyCount": 0,
"protocolHeaders": "x-forwarded-proto",
"ipHeaders": "x-forwarded-for",
"hostHeaders": "",
"pkg": {
"name": "mqtttohttp",
"version": "1.0.0",
"description": "",
"private": true,
"egg": {
"declarations": true
},
"dependencies": {
"aedes": "^0.49.0",
"egg": "^3",
"egg-scripts": "^2",
"lodash": "^4.17.21",
"mqtt": "^4.3.7"
},
"devDependencies": {
"egg-bin": "^5",
"egg-ci": "^2",
"egg-mock": "^5",
"eslint": "^8",
"eslint-config-egg": "^12"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "egg-scripts start --daemon --title=egg-server-mqtttohttp",
"stop": "egg-scripts stop --title=egg-server-mqtttohttp",
"dev": "egg-bin dev",
"npmPro": "npm install --production",
"build": "tar -zcvf ../release.tgz .",
"debug": "egg-bin debug",
"test": "npm run lint -- --fix && npm run test-local",
"test-local": "egg-bin test",
"cov": "egg-bin cov",
"lint": "eslint .",
"ci": "npm run lint && npm run cov"
},
"ci": {
"version": "16, 18",
"type": "github"
},
"repository": {
"type": "git",
"url": ""
},
"author": "",
"license": "MIT"
},
"baseDir": "F:\\code\\demo",
"HOME": "C:\\Users\\lichong",
"rundir": "F:\\code\\demo\\run",
"dump": {
"ignore": "<Set>",
"timing": {
"slowBootActionMinDuration": 5000
}
},
"confusedConfigurations": {
"bodyparser": "bodyParser",
"notFound": "notfound",
"sitefile": "siteFile",
"middlewares": "middleware",
"httpClient": "httpclient"
},
"notfound": {
"pageUrl": ""
},
"siteFile": {
"/favicon.ico": "<Buffer len: 6463>",
"cacheControl": "public, max-age=2592000"
},
"bodyParser": {
"enable": true,
"encoding": "utf8",
"formLimit": "1mb",
"jsonLimit": "1mb",
"textLimit": "1mb",
"strict": true,
"queryString": {
"arrayLimit": 100,
"depth": 5,
"parameterLimit": 1000
},
"returnRawBody": true
},
"logger": {
"dir": "F:\\code\\demo\\logs\\mqtttohttp",
"encoding": "utf8",
"env": "local",
"level": "INFO",
"consoleLevel": "INFO",
"disableConsoleAfterReady": false,
"outputJSON": false,
"buffer": true,
"appLogName": "mqtttohttp-web.log",
"coreLogName": "egg-web.log",
"agentLogName": "egg-agent.log",
"errorLogName": "common-error.log",
"coreLogger": {
"consoleLevel": "WARN"
},
"allowDebugAtProd": false,
"enablePerformanceTimer": false,
"enableFastContextLogger": false,
"type": "application",
"localStorage": "<AsyncLocalStorage>"
},
"httpclient": {
"enableDNSCache": false,
"dnsCacheLookupInterval": 10000,
"dnsCacheMaxLength": 1000,
"request": {
"timeout": 5000
},
"httpAgent": {
"keepAlive": true,
"freeSocketTimeout": 4000,
"maxSockets": 9007199254740991,
"maxFreeSockets": 256
},
"httpsAgent": {
"keepAlive": true,
"freeSocketTimeout": 4000,
"maxSockets": 9007199254740991,
"maxFreeSockets": 256
},
"useHttpClientNext": false
},
"meta": {
"enable": true,
"logging": false
},
"coreMiddleware": [
"meta",
"siteFile",
"notfound",
"static",
"bodyParser",
"overrideMethod",
"session",
"securities",
"i18n",
"eggLoaderTrace"
],
"workerStartTimeout": 600000,
"serverTimeout": null,
"cluster": {
"listen": {
"path": "",
"port": 7020,
"hostname": ""
}
},
"clusterClient": {
"maxWaitTime": 60000,
"responseTimeout": 60000
},
"onClientError": null,
"middleware": [],
"coreMiddlewares": "~config~coreMiddleware",
"appMiddlewares": "~config~middleware",
"appMiddleware": "~config~middleware"
},
"plugins": {
"onerror": {
"enable": true,
"package": "egg-onerror",
"name": "onerror",
"dependencies": [],
"optionalDependencies": [
"jsonp"
],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-onerror",
"version": "2.2.0"
},
"session": {
"enable": true,
"package": "egg-session",
"name": "session",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-session",
"version": "3.3.0"
},
"i18n": {
"enable": true,
"package": "egg-i18n",
"name": "i18n",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-i18n",
"version": "2.1.1"
},
"watcher": {
"enable": true,
"package": "egg-watcher",
"name": "watcher",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-watcher",
"version": "3.1.1",
"dependents": [
"development"
]
},
"multipart": {
"enable": true,
"package": "egg-multipart",
"name": "multipart",
"dependencies": [],
"optionalDependencies": [
"schedule"
],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-multipart",
"version": "3.3.0"
},
"security": {
"enable": true,
"package": "egg-security",
"name": "security",
"dependencies": [],
"optionalDependencies": [
"session"
],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-security",
"version": "3.1.0"
},
"development": {
"enable": true,
"package": "egg-development",
"name": "development",
"dependencies": [
"watcher"
],
"optionalDependencies": [],
"env": [
"local"
],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-development",
"version": "2.7.0"
},
"logrotator": {
"enable": true,
"package": "egg-logrotator",
"name": "logrotator",
"dependencies": [
"schedule"
],
"optionalDependencies": [],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-logrotator",
"version": "3.1.0"
},
"schedule": {
"enable": true,
"package": "egg-schedule",
"name": "schedule",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-schedule",
"version": "4.0.0",
"dependents": [
"logrotator"
]
},
"static": {
"enable": true,
"package": "egg-static",
"name": "static",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-static",
"version": "2.3.1"
},
"jsonp": {
"enable": true,
"package": "egg-jsonp",
"name": "jsonp",
"dependencies": [],
"optionalDependencies": [
"security"
],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-jsonp",
"version": "2.0.0"
},
"view": {
"enable": true,
"package": "egg-view",
"name": "view",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "F:\\code\\demo\\node_modules\\egg\\config\\plugin.js",
"path": "F:\\code\\demo\\node_modules\\egg-view",
"version": "2.1.4"
}
},
"appInfo": {
"name": "mqtttohttp",
"baseDir": "F:\\code\\demo",
"env": "local",
"scope": "",
"HOME": "C:\\Users\\lichong",
"pkg": {
"name": "mqtttohttp",
"version": "1.0.0",
"description": "",
"private": true,
"egg": {
"declarations": true
},
"dependencies": {
"aedes": "^0.49.0",
"egg": "^3",
"egg-scripts": "^2",
"lodash": "^4.17.21",
"mqtt": "^4.3.7"
},
"devDependencies": {
"egg-bin": "^5",
"egg-ci": "^2",
"egg-mock": "^5",
"eslint": "^8",
"eslint-config-egg": "^12"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "egg-scripts start --daemon --title=egg-server-mqtttohttp",
"stop": "egg-scripts stop --title=egg-server-mqtttohttp",
"dev": "egg-bin dev",
"npmPro": "npm install --production",
"build": "tar -zcvf ../release.tgz .",
"debug": "egg-bin debug",
"test": "npm run lint -- --fix && npm run test-local",
"test-local": "egg-bin test",
"cov": "egg-bin cov",
"lint": "eslint .",
"ci": "npm run lint && npm run cov"
},
"ci": {
"version": "16, 18",
"type": "github"
},
"repository": {
"type": "git",
"url": ""
},
"author": "",
"license": "MIT"
},
"root": "F:\\code\\demo"
}
}