From 7cfe3332f016d7def7ca8ad25ed8bbdc33d23ed2 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 09 十二月 2025 14:52:41 +0800
Subject: [PATCH] gxhttp服务
---
package.json | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index b7484ef..134a077 100644
--- a/package.json
+++ b/package.json
@@ -9,13 +9,23 @@
"pkg": "pkg ./dist/index.js",
"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