Files
makemd/node-agent/package-build.json

34 lines
1.1 KiB
JSON
Raw Normal View History

{
"name": "operation-agent-client",
"version": "1.0.0",
"description": "Operation-Agent轻量级客户端 - 单个exe文件",
"main": "dist/lightweight-client.js",
"scripts": {
"build": "tsc",
"package:win": "pkg dist/lightweight-client.js --target node18-win-x64 --output bin/operation-agent-win.exe",
"package:linux": "pkg dist/lightweight-client.js --target node18-linux-x64 --output bin/operation-agent-linux",
"package:mac": "pkg dist/lightweight-client.js --target node18-macos-x64 --output bin/operation-agent-mac",
"package:all": "npm run package:win && npm run package:linux && npm run package:mac",
"build:all": "npm run build && npm run package:all"
},
"bin": "dist/lightweight-client.js",
"pkg": {
"assets": [
"node_modules/playwright-core/**/*",
"node_modules/playwright/**/*"
],
"scripts": [
"dist/lightweight-client.js"
]
},
"dependencies": {
"playwright": "^1.58.2",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/node": "^25.3.3",
"@types/ws": "^8.5.13",
"pkg": "^5.8.1",
"typescript": "^5.9.3"
}
}