From 55c8181bbe4c198f9bda5520ea0d8ba148933f9e Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 16 一月 2026 10:34:53 +0800
Subject: [PATCH] gx重试指令间隔
---
package.json | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/package.json b/package.json
index 5aea227..134a077 100644
--- a/package.json
+++ b/package.json
@@ -7,15 +7,26 @@
"scripts": {
"dev": "nodemon index.js",
"pkg": "pkg ./dist/index.js",
- "pkg2":"pkg ./dist/index.js --target node10-win-x64",
+ "pkg2": "pkg ./dist/index.js --target node10-win-x64",
"build": "ncc build index.js -o dist",
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "echo \"Error: no test specified\" && exit 1",
+ "buildPkg": "pkg ."
+ },
+ "pkg": {
+ "assets": [
+ "config/**/*"
+ ],
+ "targets": [
+ "node18-win-x64"
+ ],
+ "outputPath": "dist"
},
"author": "cyc",
"license": "ISC",
"dependencies": {
"aliyun-iot-device-sdk": "^1.0.1",
- "axios": "^1.7.9",
+ "axios": "^1.13.2",
+ "mqtt": "^5.13.3",
"qs": "^6.13.1",
"winston-daily-rotate-file": "^5.0.0"
},
--
Gitblit v1.8.0