From bbce2824bd6492535ec437f0863726be347acf7f Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 05 一月 2026 13:00:08 +0800
Subject: [PATCH] 日志加密

---
 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