{
  "name": "@myassis/gateway",
  "version": "1.0.132",
  "description": "我的助手 Gateway Service - 本地 AI 网关服务，支持认证、WebSocket 实时通信和任务调度",
  "main": "dist/index.js",
  "bin": {
    "myassis-gateway": "dist/index.js",
    "gateway": "dist/index.js"
  },
  "files": [
    "dist",
    "scripts",
    "README.md",
    "LICENSE",
    "migrations"
  ],
  "exports": {
    ".": {
      "require": "./dist/index.js"
    }
  },
  "scripts": {
    "dev": "tsx watch src/index.ts",
    "start": "node dist/index.js",
    "build": "tsc --skipLibCheck",
    "postbuild": "node scripts/add-shebang.js && npx tsc-alias",
    "pkg:win": "node scripts/pkg-build-win.js node24-win-x64 myassis-gateway-win.exe",
    "pkg:linux": "npx @yao-pkg/pkg . --targets node24-linux-x64 --output myassis-gateway-linux",
    "pkg:all": "npm run pkg:win && npm run pkg:linux",
    "pkg:linux-analyze": "npx @yao-pkg/pkg . --targets node24-linux-x64 --output myassis-gateway-linux --public-packages got --debug",
    "test": "jest"
  },
  "keywords": [
    "myassis",
    "gateway",
    "ai",
    "local-ai",
    "websocket",
    "service"
  ],
  "author": "duzhengjie",
  "dependencies": {
    "@myassis/shared": "1.0.19",
    "@nut-tree/nut-js": "^4.2.0",
    "axios": "^1.15.2",
    "bcryptjs": "^2.4.3",
    "better-sqlite3": "12.9.0",
    "cheerio": "^1.2.0",
    "compression": "^1.7.4",
    "cors": "^2.8.5",
    "dotenv": "^16.3.1",
    "express": "^4.18.2",
    "helmet": "^7.1.0",
    "https-proxy-agent": "^9.0.0",
    "jsonwebtoken": "^9.0.2",
    "multer": "^2.1.1",
    "screenshot-desktop": "^1.15.4",
    "undici": "^8.2.0",
    "uuid": "^9.0.1",
    "ws": "^8.20.0"
  },
  "devDependencies": {
    "@types/bcryptjs": "^2.4.6",
    "@types/cors": "^2.8.17",
    "@types/express": "^4.17.21",
    "@types/jsonwebtoken": "^9.0.6",
    "@types/multer": "^1.4.11",
    "@types/node": "^20.11.0",
    "@types/uuid": "^9.0.8",
    "@types/ws": "^8.5.10",
    "@yao-pkg/pkg": "^6.20.0",
    "tsc-alias": "^1.8.10",
    "tsx": "^4.7.0",
    "typescript": "^5.3.3",
    "@yao-pkg/pkg-fetch": "3.6.3"
  },
  "pkg": {
    "scripts": [
      "dist/index.js"
    ],
    "assets": [
      "dist/**/*",
      "migrations/**/*",
      "README*",
      "node_modules/better-sqlite3/build/Release/better_sqlite3.node",
      "node_modules/.pnpm/@nut-tree+libnut-linux@2.7.1/node_modules/@nut-tree/libnut-linux/build/Release/libnut.node",
      "node_modules/.pnpm/@nut-tree+libnut-win32@2.7.1/node_modules/@nut-tree/libnut-win32/build/Release/libnut.node",
      "nssm.exe"
    ],
    "targets": [
      "node24-win-x64",
      "node24-linux-x64"
    ]
  }
}
