chenyc
2025-05-29 92f69c57b920cf62ecc9f15f9ed196fa26dbf2ac
package.json
@@ -3,13 +3,20 @@
  "version": "1.0.0",
  "description": "",
  "main": "app.js",
  "bin": "app.js",
  "scripts": {
    "dev": "node app.js",
    "dev2": "node ./dist/index.js",
    "build2":"pkg app.js --targets node10-win-x64 --verbose",
    "pkg": "pkg ./dist/index.js",
    "pkg2": "pkg ./dist/index.js --target node12-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 +32,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"
  }
}