- warehouseNotify: 按固定群订阅经 wms_api_app 回调推送(MD5 验签),消息表登记+失败重试 - notice: 货主群缺失时降级发仓库异常群(前缀标记失败),合约停用/已解除货主不发货主群也不降级 - order_async: 订单同步通知 3 分钟去抖合并,Redis 队列+定时冲刷+失败重试 - receiving: 收货完成/驳回/审核通知走仓库通道,仓库/货主侧文案分离 - storage/inventory: 移除移库完成群通知(事件码保留,库存余量提醒仍复用) - 新增 debug:warehouse:push-receiver 调试接收服务与文档/变更记录
88 lines
3.4 KiB
JSON
88 lines
3.4 KiB
JSON
{
|
|
"name": "wms",
|
|
"version": "1.0.0",
|
|
"description": "奇门wms",
|
|
"private": true,
|
|
"egg": {
|
|
"declarations": true
|
|
},
|
|
"dependencies": {
|
|
"await-stream-ready": "^1.0.1",
|
|
"cos-js-sdk-v5": "^1.10.1",
|
|
"cos-nodejs-sdk-v5": "^2.15.4",
|
|
"crypto-js": "^4.2.0",
|
|
"egg": "^3.17.5",
|
|
"egg-cors": "^3.0.1",
|
|
"egg-jwt": "^3.1.7",
|
|
"egg-mysql": "^5.0.0",
|
|
"egg-redis": "^2.6.1",
|
|
"egg-scripts": "2",
|
|
"egg-sequelize": "^6.0.0",
|
|
"egg-view-ejs": "^3.0.0",
|
|
"ejs": "^5.0.1",
|
|
"exceljs": "^4.4.0",
|
|
"fast-xml-parser": "^5.3.1",
|
|
"mysql2": "^3.15.3",
|
|
"path": "^0.12.7",
|
|
"qiniu-js": "^3.4.3",
|
|
"soap": "^1.8.0",
|
|
"spark-md5": "^3.0.2",
|
|
"xlsx": "^0.18.5"
|
|
},
|
|
"devDependencies": {
|
|
"egg-bin": "6",
|
|
"egg-mock": "5",
|
|
"eslint": "8",
|
|
"eslint-config-egg": "13",
|
|
"sequelize-cli": "^6.6.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "egg-scripts start ",
|
|
"stop": "node ./app/lib/stop_current_egg.js",
|
|
"dev": "egg-bin dev --port=6060",
|
|
"file-writer:pressure": "node ./temp/generated-tests/file-writer-pressure.generated.test.cjs",
|
|
"debug:webhook:receiver": "node ./script/debug-webhook-receiver.cjs",
|
|
"debug:webhook:receiving": "node ./script/debug-send-receiving-webhooks.cjs",
|
|
"debug:warehouse:push-receiver": "node ./script/debug-warehouse-push-receiver.cjs",
|
|
"doc:api:update": "node ./script/update-api-doc.cjs",
|
|
"doc:api:update:dry": "node ./script/update-api-doc.cjs --dry-run",
|
|
"deploy:precheck": "node ./script/deploy-precheck.cjs",
|
|
"deploy:authcheck": "node ./script/deploy-auth-check.cjs",
|
|
"deploy:version": "node ./script/deploy-version.cjs production",
|
|
"deploy:version:history": "node ./script/deploy-version.cjs production --history=20",
|
|
"deploy:inspect": "node ./script/deploy-ops.cjs production inspect",
|
|
"deploy:smoke": "node ./script/deploy-ops.cjs production smoke",
|
|
"deploy:verify": "node ./script/deploy-ops.cjs production verify",
|
|
"deploy:cleanup-backups": "node ./script/deploy-ops.cjs production cleanup-backups",
|
|
"deploy:gateway-probe": "node ./script/deploy-ops.cjs production gateway-probe",
|
|
"version:record": "node ./script/version-record.cjs",
|
|
"version:history": "node ./script/version-history.cjs --limit=50",
|
|
"deploy": "npm run deploy:prod",
|
|
"deploy:prod": "node ./script/deploy-remote.cjs production",
|
|
"rollback": "npm run rollback:prod",
|
|
"rollback:prod": "node ./script/rollback-remote.cjs production",
|
|
"guard:git": "node ./script/git-safety-check.cjs",
|
|
"setup:hooks": "node ./script/setup-git-hooks.cjs",
|
|
"test": "npm run lint -- --fix && npm run test:local",
|
|
"test:local": "egg-bin test",
|
|
"test:dispatch-factory": "egg-bin test test/app/model/order_delivery_dispatch_factory.test.js",
|
|
"cov": "egg-bin cov",
|
|
"lint": "eslint .",
|
|
"migration:single": "node ./script/run-single-migration.cjs",
|
|
"db:update-stock-weight": "node ./script/update-stock-warehouse-weight.cjs",
|
|
"db:update-stock-weight:dry": "node ./script/update-stock-warehouse-weight.cjs --dry-run",
|
|
"permission:sync:system-api": "node ./script/sync-system-api-permission.cjs",
|
|
"check:model-boundary": "node ./script/model-boundary-check.cjs",
|
|
"ci": "npm run lint && npm run check:model-boundary && npm run cov"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": ""
|
|
},
|
|
"author": "刘付明仁",
|
|
"license": "MIT"
|
|
}
|