gx
chenyc
2025-02-10 ae1184884d28b5cdb719efa8523e5d04b75175f9
package.json
@@ -3,8 +3,21 @@
  "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": [
      "node16-win-x64"
    ]
  },
  "author": "chenyincheng",
  "license": "ISC",
@@ -18,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"
  }
}