From ae1184884d28b5cdb719efa8523e5d04b75175f9 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 10 二月 2025 16:30:24 +0800
Subject: [PATCH] gx

---
 package.json |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/package.json b/package.json
index 4395404..045fcf2 100644
--- a/package.json
+++ b/package.json
@@ -3,13 +3,19 @@
   "version": "1.0.0",
   "description": "",
   "main": "app.js",
+  "bin": "app.js",
   "scripts": {
     "dev": "node app.js",
+    "dev2": "node ./dist/index.js",
+    "pkg": "pkg ./dist/index.js",
+    "pkg2": "pkg ./dist/index.js --target node16-win-x64",
+    "pkg3": "pkg ./dist2/index.js --targets node16-win-x64 --external=@tensorflow/tfjs-node --compress gzip",
+    "build": "ncc build app.js -o dist",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
-  "pkg":{
-    "scripts":"start",
-    "targets":[
+  "pkg": {
+    "scripts": "start",
+    "targets": [
       "node16-win-x64"
     ]
   },
@@ -25,6 +31,11 @@
     "face-api.js": "^0.22.2",
     "moment": "^2.29.4",
     "mongoose": "^5.12.13",
-    "multer": "^1.4.5-lts.1"
+    "multer": "^1.4.5-lts.1",
+    "winston-daily-rotate-file": "^5.0.0"
+  },
+  "devDependencies": {
+    "@vercel/ncc": "^0.38.3",
+    "pkg": "^5.8.1"
   }
 }

--
Gitblit v1.8.0