WMS_MAIN/package.json
liufumingren 1afe068e73 feat(return-unpack): 新增配送订单批量转退件拆包单 transferByOrders
- 包装层新增 transferByOrders(鉴权 + 操作日志,ids 去重后上限 200)
- 业务层实现:仅库内拦截订单可转,1 单新建 1 张拆包单,明细 1:1 复制,单条失败不阻断主流程
- 迁移 20261017100000:新增权限 643 并授予仓库组员工/主管
- 同步 methods/system.json 与变更记录
- package.json 修正 depeeloy 脚本名拼写为 deploy
2026-10-21 15:46:18 +08:00

97 lines
4.1 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",
"frpc:install": "powershell -ExecutionPolicy Bypass -File ./script/frp/frp-install.ps1",
"frpc:start": "powershell -ExecutionPolicy Bypass -File ./script/frp/frp-start.ps1",
"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:cert-sync:install": "node ./script/deploy-cert-sync.cjs production install",
"deploy:cert-sync:uninstall": "node ./script/deploy-cert-sync.cjs production uninstall",
"deploy:watchdog:install": "node ./script/deploy-watchdog.cjs production install",
"deploy:watchdog:uninstall": "node ./script/deploy-watchdog.cjs production uninstall",
"ops:check-root-logs": "node ./script/check-root-logs.cjs",
"ops:clean-root-logs": "node ./script/check-root-logs.cjs production --clean",
"ops:clean-root-logs:apply": "node ./script/check-root-logs.cjs production --clean --apply",
"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"
}