mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
71 lines
2.5 KiB
JSON
71 lines
2.5 KiB
JSON
{
|
|
"name": "agent-device",
|
|
"version": "0.7.20",
|
|
"description": "Unified control plane for physical and virtual devices via an agent-driven CLI.",
|
|
"license": "MIT",
|
|
"author": "Callstack",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"bin": {
|
|
"agent-device": "bin/agent-device.mjs"
|
|
},
|
|
"scripts": {
|
|
"lint": "node --eval \"console.log('no lint')\"",
|
|
"build": "rslib build",
|
|
"clean:daemon": "rm -f ~/.agent-device/daemon.json && rm -f ~/.agent-device/daemon.lock",
|
|
"build:node": "pnpm build && pnpm clean:daemon",
|
|
"build:xcuitest": "pnpm build:xcuitest:ios",
|
|
"build:xcuitest:ios": "rm -rf ~/.agent-device/ios-runner/derived/device && xcodebuild build-for-testing -project ios-runner/AgentDeviceRunner/AgentDeviceRunner.xcodeproj -scheme AgentDeviceRunner -destination \"generic/platform=iOS Simulator\" -derivedDataPath ~/.agent-device/ios-runner/derived",
|
|
"build:xcuitest:tvos": "rm -rf ~/.agent-device/ios-runner/derived/tvos && xcodebuild build-for-testing -project ios-runner/AgentDeviceRunner/AgentDeviceRunner.xcodeproj -scheme AgentDeviceRunner -destination \"generic/platform=tvOS Simulator\" -derivedDataPath ~/.agent-device/ios-runner/derived/tvos",
|
|
"build:all": "pnpm build:node && pnpm build:xcuitest",
|
|
"ad": "node bin/agent-device.mjs",
|
|
"format": "prettier --write .",
|
|
"prepublishOnly": "pnpm build:all",
|
|
"prepack": "pnpm build:all",
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"test": "node --test",
|
|
"test:unit": "node --test src/__tests__/*.test.ts src/core/__tests__/*.test.ts src/daemon/__tests__/*.test.ts src/daemon/handlers/__tests__/*.test.ts src/platforms/**/__tests__/*.test.ts src/utils/**/__tests__/*.test.ts",
|
|
"test:smoke": "node --test test/integration/smoke-*.test.ts",
|
|
"test:integration": "node --test test/integration/*.test.ts"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"dist",
|
|
"ios-runner",
|
|
"!ios-runner/**/.build",
|
|
"!ios-runner/**/.swiftpm",
|
|
"!ios-runner/**/xcuserdata",
|
|
"!ios-runner/**/*.xcuserstate",
|
|
"skills",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"keywords": [
|
|
"agent",
|
|
"device",
|
|
"cli",
|
|
"adb",
|
|
"simctl",
|
|
"devicectl",
|
|
"ios",
|
|
"android"
|
|
],
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"semi": true,
|
|
"trailingComma": "all",
|
|
"printWidth": 100
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@rslib/core": "0.19.4",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|