application_config.json 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. {
  2. "config": {
  3. "session": {
  4. "maxAge": 86400000,
  5. "key": "SZJKJSESSION",
  6. "httpOnly": true,
  7. "encrypt": true,
  8. "logValue": true,
  9. "overwrite": true,
  10. "renew": true,
  11. "signed": true,
  12. "autoCommit": true,
  13. "encode": "<Function encode>",
  14. "decode": "<Function decode>",
  15. "genid": "<Function v4>"
  16. },
  17. "security": {
  18. "domainWhiteList": [],
  19. "protocolWhiteList": [],
  20. "defaultMiddleware": "csrf,hsts,methodnoallow,noopen,nosniff,csp,xssProtection,xframe,dta",
  21. "csrf": {
  22. "enable": false,
  23. "type": "ctoken",
  24. "ignoreJSON": false,
  25. "useSession": false,
  26. "cookieName": "csrfToken",
  27. "sessionName": "csrfToken",
  28. "headerName": "x-csrf-token",
  29. "bodyName": "szjkj_token",
  30. "queryName": "szjkj_token",
  31. "supportedRequests": [
  32. {
  33. "path": {},
  34. "methods": [
  35. "POST",
  36. "PATCH",
  37. "DELETE",
  38. "PUT",
  39. "CONNECT"
  40. ]
  41. }
  42. ],
  43. "refererWhiteList": []
  44. },
  45. "xframe": {
  46. "enable": true,
  47. "value": "SAMEORIGIN",
  48. "matching": "<Function anonymous>"
  49. },
  50. "hsts": {
  51. "enable": false,
  52. "maxAge": 31536000,
  53. "includeSubdomains": false
  54. },
  55. "dta": {
  56. "enable": true,
  57. "matching": "<Function anonymous>"
  58. },
  59. "methodnoallow": {
  60. "enable": true,
  61. "matching": "<Function anonymous>"
  62. },
  63. "noopen": {
  64. "enable": true,
  65. "matching": "<Function anonymous>"
  66. },
  67. "nosniff": {
  68. "enable": true,
  69. "matching": "<Function anonymous>"
  70. },
  71. "referrerPolicy": {
  72. "enable": false,
  73. "value": "no-referrer-when-downgrade"
  74. },
  75. "xssProtection": {
  76. "enable": true,
  77. "value": "1; mode=block",
  78. "matching": "<Function anonymous>"
  79. },
  80. "csp": {
  81. "enable": false,
  82. "policy": {}
  83. },
  84. "ssrf": {
  85. "ipBlackList": null,
  86. "ipExceptionList": null,
  87. "checkAddress": null
  88. },
  89. "_protocolWhiteListSet": "<Set>"
  90. },
  91. "helper": {
  92. "shtml": {}
  93. },
  94. "jsonp": {
  95. "limit": 50,
  96. "callback": [
  97. "_callback",
  98. "callback"
  99. ],
  100. "csrf": false
  101. },
  102. "onerror": {
  103. "errorPageUrl": "",
  104. "appErrorFilter": null,
  105. "templatePath": "D:\\ysjjCode\\shop-system\\node_modules\\egg-onerror\\lib\\onerror_page.mustache",
  106. "all": "<Function all>"
  107. },
  108. "i18n": {
  109. "defaultLocale": "en_US",
  110. "dirs": [
  111. "D:\\ysjjCode\\shop-system\\node_modules\\egg-session\\config\\locales",
  112. "D:\\ysjjCode\\shop-system\\node_modules\\egg-security\\config\\locales",
  113. "D:\\ysjjCode\\shop-system\\node_modules\\egg-jsonp\\config\\locales",
  114. "D:\\ysjjCode\\shop-system\\node_modules\\egg-onerror\\config\\locales",
  115. "D:\\ysjjCode\\shop-system\\node_modules\\egg-i18n\\config\\locales",
  116. "D:\\ysjjCode\\shop-system\\node_modules\\egg-watcher\\config\\locales",
  117. "D:\\ysjjCode\\shop-system\\node_modules\\egg-schedule\\config\\locales",
  118. "D:\\ysjjCode\\shop-system\\node_modules\\egg-multipart\\config\\locales",
  119. "D:\\ysjjCode\\shop-system\\node_modules\\egg-development\\config\\locales",
  120. "D:\\ysjjCode\\shop-system\\node_modules\\egg-logrotator\\config\\locales",
  121. "D:\\ysjjCode\\shop-system\\node_modules\\egg-static\\config\\locales",
  122. "D:\\ysjjCode\\shop-system\\node_modules\\egg-view\\config\\locales",
  123. "D:\\ysjjCode\\shop-system\\node_modules\\egg-router-plus\\config\\locales",
  124. "D:\\ysjjCode\\shop-system\\node_modules\\egg-cors\\config\\locales",
  125. "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-validate\\config\\locales",
  126. "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-utils\\config\\locales",
  127. "D:\\ysjjCode\\shop-system\\node_modules\\egg-sequelize\\config\\locales",
  128. "D:\\ysjjCode\\shop-system\\node_modules\\egg-redis\\config\\locales",
  129. "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-bean\\config\\locales",
  130. "D:\\ysjjCode\\shop-system\\node_modules\\egg-jwt\\config\\locales",
  131. "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-dxw\\config\\locales",
  132. "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\locales",
  133. "D:\\ysjjCode\\shop-system\\config\\locales"
  134. ],
  135. "queryField": "locale",
  136. "cookieField": "locale",
  137. "cookieDomain": "",
  138. "cookieMaxAge": "1y",
  139. "functionName": "__"
  140. },
  141. "watcher": {
  142. "type": "development",
  143. "eventSources": {
  144. "default": "D:\\ysjjCode\\shop-system\\node_modules\\egg-watcher\\lib\\event-sources\\default",
  145. "development": "D:\\ysjjCode\\shop-system\\node_modules\\egg-watcher\\lib\\event-sources\\development"
  146. }
  147. },
  148. "customLogger": {
  149. "scheduleLogger": {
  150. "consoleLevel": "NONE",
  151. "file": "egg-schedule.log"
  152. }
  153. },
  154. "schedule": {
  155. "directory": []
  156. },
  157. "multipart": {
  158. "mode": "stream",
  159. "autoFields": true,
  160. "defaultCharset": "utf8",
  161. "fieldNameSize": 100,
  162. "fieldSize": 102400,
  163. "fields": 10,
  164. "fileSize": 52428800,
  165. "files": 10,
  166. "fileExtensions": [],
  167. "whitelist": [
  168. ".png",
  169. ".jpeg",
  170. ".jpg",
  171. ".bmp",
  172. ".mp4",
  173. ".mp3",
  174. ".wmv"
  175. ],
  176. "allowArrayField": false,
  177. "tmpdir": "D:\\ysjjCode\\shop-system\\runtime\\egg-multipart-tmp\\szjkj",
  178. "cleanSchedule": {
  179. "cron": "0 30 4 * * *",
  180. "disable": false
  181. }
  182. },
  183. "development": {
  184. "watchDirs": [],
  185. "ignoreDirs": [],
  186. "fastReady": false,
  187. "reloadOnDebug": true,
  188. "overrideDefault": false,
  189. "overrideIgnore": false
  190. },
  191. "logrotator": {
  192. "filesRotateByHour": null,
  193. "hourDelimiter": "-",
  194. "filesRotateBySize": null,
  195. "maxFileSize": 52428800,
  196. "maxFiles": 10,
  197. "rotateDuration": 60000,
  198. "maxDays": 31
  199. },
  200. "static": {
  201. "prefix": "/",
  202. "dir": "D:\\ysjjCode\\shop-system\\app\\public",
  203. "dynamic": true,
  204. "preload": false,
  205. "buffer": false,
  206. "maxFiles": 1000,
  207. "maxAge": 0
  208. },
  209. "view": {
  210. "root": "D:\\ysjjCode\\shop-system\\app\\view",
  211. "cache": false,
  212. "defaultExtension": ".html",
  213. "defaultViewEngine": "",
  214. "mapping": {}
  215. },
  216. "cors": {
  217. "origin": "*",
  218. "allowMethods": "GET,HEAD,PUT,POST,DELETE,OPTIONS"
  219. },
  220. "eggSzjcomoValidate": {},
  221. "szjcomo": {},
  222. "sequelize": {
  223. "dialect": "mysql",
  224. "database": "ysshop",
  225. "host": "112.74.21.142",
  226. "port": 3306,
  227. "username": "ysshop",
  228. "password": "<String len: 10>",
  229. "delegate": "model",
  230. "baseDir": "models/mysql",
  231. "pool": {
  232. "max": 30,
  233. "min": 5,
  234. "acquire": 60000,
  235. "idle": 10000
  236. },
  237. "logging": false,
  238. "timezone": "+08:00",
  239. "charset": "utf8",
  240. "dialectOptions": {
  241. "dateStrings": true,
  242. "typeCast": true
  243. },
  244. "define": {
  245. "freezeTableName": true,
  246. "timestamps": false
  247. }
  248. },
  249. "redis": {
  250. "default": {},
  251. "app": true,
  252. "agent": false,
  253. "supportTimeCommand": true,
  254. "client": {
  255. "port": 8521,
  256. "host": "112.74.21.142",
  257. "password": "<String len: 7>",
  258. "db": 8
  259. }
  260. },
  261. "bean": {},
  262. "jwt": {
  263. "secret": "<String len: 15>",
  264. "enable": false
  265. },
  266. "dxw": {
  267. "accesskey": "xxxx",
  268. "secret": "<String len: 4>",
  269. "sign": "xxx"
  270. },
  271. "env": "local",
  272. "name": "egg-universal-szjcomo",
  273. "keys": "<String len: 33>",
  274. "cookies": {},
  275. "proxy": false,
  276. "maxIpsCount": 0,
  277. "maxProxyCount": 0,
  278. "protocolHeaders": "x-forwarded-proto",
  279. "ipHeaders": "x-forwarded-for",
  280. "hostHeaders": "",
  281. "pkg": {
  282. "name": "egg-universal-szjcomo",
  283. "version": "1.0.2",
  284. "description": "基于egg.js的快速开发框架",
  285. "private": true,
  286. "egg": {
  287. "declarations": true
  288. },
  289. "dependencies": {
  290. "await-stream-ready": "^1.0.1",
  291. "decimal.js": "^10.4.3",
  292. "egg": "^2.15.1",
  293. "egg-cors": "^2.2.3",
  294. "egg-jwt": "^3.1.7",
  295. "egg-redis": "^2.4.0",
  296. "egg-router-plus": "^1.3.1",
  297. "egg-scripts": "^2.11.0",
  298. "egg-sequelize": "^5.2.2",
  299. "egg-szjcomo-bean": "^1.0.1",
  300. "egg-szjcomo-dxw": "^1.0.2",
  301. "egg-szjcomo-utils": "^1.0.9",
  302. "egg-szjcomo-validate": "^1.0.3",
  303. "mysql2": "^2.1.0",
  304. "stream-wormhole": "^1.1.0",
  305. "svg-captcha": "^1.4.0",
  306. "wechatpay-node-v3": "^2.1.0"
  307. },
  308. "devDependencies": {
  309. "autod": "^3.0.1",
  310. "autod-egg": "^1.1.0",
  311. "egg-bin": "^4.11.0",
  312. "egg-ci": "^1.11.0",
  313. "egg-mock": "^3.21.0",
  314. "eslint": "^5.13.0",
  315. "eslint-config-egg": "^7.1.0"
  316. },
  317. "engines": {
  318. "node": ">=10.0.0"
  319. },
  320. "scripts": {
  321. "start": "export APP_CUSTOME=oneshop&& egg-scripts start --daemon --title=egg-oneshop-szjcomo --ignore-stderr --workers=1",
  322. "stop": "export APP_CUSTOME=oneshop&& egg-scripts stop --title=egg-oneshop-szjcomo --workers=1",
  323. "dev": "set APP_CUSTOME=oneshop&& egg-bin dev",
  324. "debug": "egg-bin debug",
  325. "test": "npm run lint -- --fix && npm run test-local",
  326. "test-local": "egg-bin test",
  327. "cov": "egg-bin cov",
  328. "lint": "eslint .",
  329. "ci": "npm run lint && npm run cov",
  330. "autod": "autod",
  331. "model": "egg-sequelize-auto -o app/models/mysql -c auto_model.json -t szj_product_comment",
  332. "bak": "sequelize-automate -c auto_model.json"
  333. },
  334. "ci": {
  335. "version": "10"
  336. },
  337. "repository": {
  338. "type": "git",
  339. "url": ""
  340. },
  341. "author": "szjcomo",
  342. "license": "MIT"
  343. },
  344. "baseDir": "D:\\ysjjCode\\shop-system",
  345. "HOME": "C:\\Users\\lawsu",
  346. "rundir": "D:\\ysjjCode\\shop-system\\runtime\\run",
  347. "dump": {
  348. "ignore": "<Set>"
  349. },
  350. "confusedConfigurations": {
  351. "bodyparser": "bodyParser",
  352. "notFound": "notfound",
  353. "sitefile": "siteFile",
  354. "middlewares": "middleware",
  355. "httpClient": "httpclient"
  356. },
  357. "notfound": {
  358. "pageUrl": ""
  359. },
  360. "siteFile": {
  361. "/favicon.ico": "https://eggjs.org/favicon.ico",
  362. "cacheControl": "public, max-age=2592000"
  363. },
  364. "bodyParser": {
  365. "enable": true,
  366. "encoding": "utf8",
  367. "formLimit": "10mb",
  368. "jsonLimit": "10mb",
  369. "textLimit": "2mb",
  370. "strict": true,
  371. "queryString": {
  372. "arrayLimit": 100,
  373. "depth": 5,
  374. "parameterLimit": 1000
  375. },
  376. "enableTypes": [
  377. "json",
  378. "form",
  379. "text"
  380. ],
  381. "extendTypes": {
  382. "text": [
  383. "text/xml",
  384. "application/xml"
  385. ]
  386. },
  387. "returnRawBody": true
  388. },
  389. "logger": {
  390. "dir": "D:\\ysjjCode\\shop-system/runtime/logs/",
  391. "encoding": "utf8",
  392. "env": "local",
  393. "level": "ERROR",
  394. "consoleLevel": "ERROR",
  395. "disableConsoleAfterReady": false,
  396. "outputJSON": false,
  397. "buffer": true,
  398. "appLogName": "egg-universal-szjcomo-egg-access.log",
  399. "coreLogName": "egg-universal-szjcomo-egg-core.log",
  400. "agentLogName": "egg-universal-szjcomo-egg-agent.log",
  401. "errorLogName": "egg-universal-szjcomo-egg-error.log",
  402. "coreLogger": {
  403. "consoleLevel": "WARN"
  404. },
  405. "allowDebugAtProd": false,
  406. "enablePerformanceTimer": false,
  407. "type": "application"
  408. },
  409. "httpclient": {
  410. "enableDNSCache": false,
  411. "dnsCacheLookupInterval": 10000,
  412. "dnsCacheMaxLength": 1000,
  413. "request": {
  414. "timeout": 5000
  415. },
  416. "httpAgent": {
  417. "keepAlive": true,
  418. "freeSocketTimeout": 4000,
  419. "maxSockets": 9007199254740991,
  420. "maxFreeSockets": 256
  421. },
  422. "httpsAgent": {
  423. "keepAlive": true,
  424. "freeSocketTimeout": 4000,
  425. "maxSockets": 9007199254740991,
  426. "maxFreeSockets": 256
  427. }
  428. },
  429. "meta": {
  430. "enable": true,
  431. "logging": false
  432. },
  433. "coreMiddleware": [
  434. "cors",
  435. "meta",
  436. "siteFile",
  437. "notfound",
  438. "static",
  439. "bodyParser",
  440. "overrideMethod",
  441. "session",
  442. "securities",
  443. "i18n",
  444. "eggLoaderTrace"
  445. ],
  446. "workerStartTimeout": 600000,
  447. "serverTimeout": null,
  448. "cluster": {
  449. "listen": {
  450. "path": "",
  451. "port": 8106,
  452. "hostname": ""
  453. }
  454. },
  455. "clusterClient": {
  456. "maxWaitTime": 60000,
  457. "responseTimeout": 60000
  458. },
  459. "onClientError": null,
  460. "middleware": [
  461. "jwt",
  462. "notfoundHandler"
  463. ],
  464. "coreMiddlewares": "~config~coreMiddleware",
  465. "appMiddlewares": "~config~middleware",
  466. "appMiddleware": "~config~middleware",
  467. "multipartParseOptions": {
  468. "autoFields": true,
  469. "defCharset": "utf8",
  470. "limits": {
  471. "fieldNameSize": 100,
  472. "fieldSize": 102400,
  473. "fields": 10,
  474. "fileSize": 52428800,
  475. "files": 10
  476. },
  477. "checkFile": "<Function checkFile>"
  478. }
  479. },
  480. "plugins": {
  481. "onerror": {
  482. "enable": true,
  483. "package": "egg-onerror",
  484. "name": "onerror",
  485. "dependencies": [],
  486. "optionalDependencies": [
  487. "jsonp"
  488. ],
  489. "env": [],
  490. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  491. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-onerror",
  492. "version": "2.1.1"
  493. },
  494. "session": {
  495. "enable": true,
  496. "package": "egg-session",
  497. "name": "session",
  498. "dependencies": [],
  499. "optionalDependencies": [],
  500. "env": [],
  501. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  502. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-session",
  503. "version": "3.3.0"
  504. },
  505. "i18n": {
  506. "enable": true,
  507. "package": "egg-i18n",
  508. "name": "i18n",
  509. "dependencies": [],
  510. "optionalDependencies": [],
  511. "env": [],
  512. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  513. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-i18n",
  514. "version": "2.1.1"
  515. },
  516. "watcher": {
  517. "enable": true,
  518. "package": "egg-watcher",
  519. "name": "watcher",
  520. "dependencies": [],
  521. "optionalDependencies": [],
  522. "env": [],
  523. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  524. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-watcher",
  525. "version": "3.1.1"
  526. },
  527. "multipart": {
  528. "enable": true,
  529. "package": "egg-multipart",
  530. "name": "multipart",
  531. "dependencies": [],
  532. "optionalDependencies": [
  533. "schedule"
  534. ],
  535. "env": [],
  536. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  537. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-multipart",
  538. "version": "2.13.1"
  539. },
  540. "security": {
  541. "enable": true,
  542. "package": "egg-security",
  543. "name": "security",
  544. "dependencies": [],
  545. "optionalDependencies": [
  546. "session"
  547. ],
  548. "env": [],
  549. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  550. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-security",
  551. "version": "2.11.0"
  552. },
  553. "development": {
  554. "enable": true,
  555. "package": "egg-development",
  556. "name": "development",
  557. "dependencies": [
  558. "watcher"
  559. ],
  560. "optionalDependencies": [],
  561. "env": [
  562. "local"
  563. ],
  564. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  565. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-development",
  566. "version": "2.7.0"
  567. },
  568. "logrotator": {
  569. "enable": true,
  570. "package": "egg-logrotator",
  571. "name": "logrotator",
  572. "dependencies": [
  573. "schedule"
  574. ],
  575. "optionalDependencies": [],
  576. "env": [],
  577. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  578. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-logrotator",
  579. "version": "3.1.0"
  580. },
  581. "schedule": {
  582. "enable": true,
  583. "package": "egg-schedule",
  584. "name": "schedule",
  585. "dependencies": [],
  586. "optionalDependencies": [],
  587. "env": [],
  588. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  589. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-schedule",
  590. "version": "3.6.6"
  591. },
  592. "static": {
  593. "enable": true,
  594. "package": "egg-static",
  595. "name": "static",
  596. "dependencies": [],
  597. "optionalDependencies": [],
  598. "env": [],
  599. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  600. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-static",
  601. "version": "2.2.0"
  602. },
  603. "jsonp": {
  604. "enable": true,
  605. "package": "egg-jsonp",
  606. "name": "jsonp",
  607. "dependencies": [],
  608. "optionalDependencies": [
  609. "security"
  610. ],
  611. "env": [],
  612. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  613. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-jsonp",
  614. "version": "2.0.0"
  615. },
  616. "view": {
  617. "enable": true,
  618. "package": "egg-view",
  619. "name": "view",
  620. "dependencies": [],
  621. "optionalDependencies": [],
  622. "env": [],
  623. "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
  624. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-view",
  625. "version": "2.1.3"
  626. },
  627. "routerPlus": {
  628. "enable": true,
  629. "package": "egg-router-plus",
  630. "name": "routerPlus",
  631. "dependencies": [],
  632. "optionalDependencies": [],
  633. "env": [],
  634. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  635. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-router-plus",
  636. "version": "1.3.1"
  637. },
  638. "cors": {
  639. "enable": true,
  640. "package": "egg-cors",
  641. "name": "cors",
  642. "dependencies": [],
  643. "optionalDependencies": [],
  644. "env": [],
  645. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  646. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-cors",
  647. "version": "2.2.3"
  648. },
  649. "validate": {
  650. "enable": true,
  651. "package": "egg-szjcomo-validate",
  652. "name": "validate",
  653. "dependencies": [],
  654. "optionalDependencies": [],
  655. "env": [],
  656. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  657. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-validate",
  658. "version": "1.0.3"
  659. },
  660. "szjcomo": {
  661. "enable": true,
  662. "package": "egg-szjcomo-utils",
  663. "name": "szjcomo",
  664. "dependencies": [],
  665. "optionalDependencies": [],
  666. "env": [],
  667. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  668. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-utils",
  669. "version": "1.0.9"
  670. },
  671. "sequelize": {
  672. "enable": true,
  673. "package": "egg-sequelize",
  674. "name": "sequelize",
  675. "dependencies": [],
  676. "optionalDependencies": [],
  677. "env": [],
  678. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  679. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-sequelize",
  680. "version": "5.2.2"
  681. },
  682. "redis": {
  683. "enable": true,
  684. "package": "egg-redis",
  685. "name": "redis",
  686. "dependencies": [],
  687. "optionalDependencies": [],
  688. "env": [],
  689. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  690. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-redis",
  691. "version": "2.4.0"
  692. },
  693. "bean": {
  694. "enable": true,
  695. "package": "egg-szjcomo-bean",
  696. "name": "bean",
  697. "dependencies": [
  698. "sequelize"
  699. ],
  700. "optionalDependencies": [],
  701. "env": [],
  702. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  703. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-bean",
  704. "version": "1.0.1"
  705. },
  706. "jwt": {
  707. "enable": true,
  708. "package": "egg-jwt",
  709. "name": "jwt",
  710. "dependencies": [],
  711. "optionalDependencies": [
  712. "onerror"
  713. ],
  714. "env": [],
  715. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  716. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-jwt",
  717. "version": "3.1.7"
  718. },
  719. "dxw": {
  720. "enable": true,
  721. "package": "egg-szjcomo-dxw",
  722. "name": "dxw",
  723. "dependencies": [],
  724. "optionalDependencies": [],
  725. "env": [],
  726. "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
  727. "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-dxw",
  728. "version": "1.0.2"
  729. }
  730. },
  731. "appInfo": {
  732. "name": "egg-universal-szjcomo",
  733. "baseDir": "D:\\ysjjCode\\shop-system",
  734. "env": "local",
  735. "HOME": "C:\\Users\\lawsu",
  736. "pkg": {
  737. "name": "egg-universal-szjcomo",
  738. "version": "1.0.2",
  739. "description": "基于egg.js的快速开发框架",
  740. "private": true,
  741. "egg": {
  742. "declarations": true
  743. },
  744. "dependencies": {
  745. "await-stream-ready": "^1.0.1",
  746. "decimal.js": "^10.4.3",
  747. "egg": "^2.15.1",
  748. "egg-cors": "^2.2.3",
  749. "egg-jwt": "^3.1.7",
  750. "egg-redis": "^2.4.0",
  751. "egg-router-plus": "^1.3.1",
  752. "egg-scripts": "^2.11.0",
  753. "egg-sequelize": "^5.2.2",
  754. "egg-szjcomo-bean": "^1.0.1",
  755. "egg-szjcomo-dxw": "^1.0.2",
  756. "egg-szjcomo-utils": "^1.0.9",
  757. "egg-szjcomo-validate": "^1.0.3",
  758. "mysql2": "^2.1.0",
  759. "stream-wormhole": "^1.1.0",
  760. "svg-captcha": "^1.4.0",
  761. "wechatpay-node-v3": "^2.1.0"
  762. },
  763. "devDependencies": {
  764. "autod": "^3.0.1",
  765. "autod-egg": "^1.1.0",
  766. "egg-bin": "^4.11.0",
  767. "egg-ci": "^1.11.0",
  768. "egg-mock": "^3.21.0",
  769. "eslint": "^5.13.0",
  770. "eslint-config-egg": "^7.1.0"
  771. },
  772. "engines": {
  773. "node": ">=10.0.0"
  774. },
  775. "scripts": {
  776. "start": "export APP_CUSTOME=oneshop&& egg-scripts start --daemon --title=egg-oneshop-szjcomo --ignore-stderr --workers=1",
  777. "stop": "export APP_CUSTOME=oneshop&& egg-scripts stop --title=egg-oneshop-szjcomo --workers=1",
  778. "dev": "set APP_CUSTOME=oneshop&& egg-bin dev",
  779. "debug": "egg-bin debug",
  780. "test": "npm run lint -- --fix && npm run test-local",
  781. "test-local": "egg-bin test",
  782. "cov": "egg-bin cov",
  783. "lint": "eslint .",
  784. "ci": "npm run lint && npm run cov",
  785. "autod": "autod",
  786. "model": "egg-sequelize-auto -o app/models/mysql -c auto_model.json -t szj_product_comment",
  787. "bak": "sequelize-automate -c auto_model.json"
  788. },
  789. "ci": {
  790. "version": "10"
  791. },
  792. "repository": {
  793. "type": "git",
  794. "url": ""
  795. },
  796. "author": "szjcomo",
  797. "license": "MIT"
  798. },
  799. "root": "D:\\ysjjCode\\shop-system"
  800. }
  801. }