agent_config.json 20 KB

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