mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
109 lines
3.6 KiB
JSON
109 lines
3.6 KiB
JSON
{
|
|
"name": "agent-device",
|
|
"version": "0.11.12",
|
|
"description": "Unified control plane for physical and virtual devices via an agent-driven CLI.",
|
|
"license": "MIT",
|
|
"author": "Callstack",
|
|
"type": "module",
|
|
"main": "dist/src/index.js",
|
|
"types": "dist/src/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/src/index.js",
|
|
"types": "./dist/src/index.d.ts"
|
|
},
|
|
"./metro": {
|
|
"import": "./dist/src/metro.js",
|
|
"types": "./dist/src/metro.d.ts"
|
|
},
|
|
"./remote-config": {
|
|
"import": "./dist/src/remote-config.js",
|
|
"types": "./dist/src/remote-config.d.ts"
|
|
},
|
|
"./contracts": {
|
|
"import": "./dist/src/contracts.js",
|
|
"types": "./dist/src/contracts.d.ts"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"bin": {
|
|
"agent-device": "bin/agent-device.mjs"
|
|
},
|
|
"scripts": {
|
|
"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 && pnpm build:xcuitest:macos",
|
|
"build:xcuitest:ios": "AGENT_DEVICE_XCUITEST_PLATFORM=ios AGENT_DEVICE_IOS_CLEAN_DERIVED=1 sh ./scripts/build-xcuitest-apple.sh",
|
|
"build:xcuitest:macos": "AGENT_DEVICE_XCUITEST_PLATFORM=macos sh ./scripts/build-xcuitest-apple.sh",
|
|
"build:xcuitest:tvos": "AGENT_DEVICE_XCUITEST_PLATFORM=tvos AGENT_DEVICE_IOS_CLEAN_DERIVED=1 sh ./scripts/build-xcuitest-apple.sh",
|
|
"build:macos-helper": "swift build -c release --package-path macos-helper",
|
|
"build:all": "pnpm build:node && pnpm build:xcuitest",
|
|
"ad": "node bin/agent-device.mjs",
|
|
"lint": "oxlint . --deny-warnings",
|
|
"format": "oxfmt --write src test skills package.json tsconfig.json .oxlintrc.json .oxfmtrc.json",
|
|
"check:quick": "pnpm lint && pnpm typecheck",
|
|
"check:tooling": "pnpm lint && pnpm typecheck && pnpm build",
|
|
"check:unit": "pnpm test:unit && pnpm test:smoke",
|
|
"check": "pnpm check:tooling && pnpm check:unit",
|
|
"prepack": "pnpm build:all",
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run",
|
|
"test:smoke": "node --test test/integration/smoke-*.test.ts",
|
|
"test:integration": "node --test test/integration/*.test.ts",
|
|
"test:replay:ios": "node --experimental-strip-types src/bin.ts test test/integration/replays/ios/simulator",
|
|
"test:replay:ios-device": "node --experimental-strip-types src/bin.ts test test/integration/replays/ios/device",
|
|
"test:replay:android": "node --experimental-strip-types src/bin.ts test test/integration/replays/android",
|
|
"test:replay:macos": "node --experimental-strip-types src/bin.ts test test/integration/replays/macos",
|
|
"test:replay:linux": "node --experimental-strip-types src/bin.ts test test/integration/replays/linux"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"dist",
|
|
"ios-runner",
|
|
"!ios-runner/**/.build",
|
|
"!ios-runner/**/.swiftpm",
|
|
"!ios-runner/**/xcuserdata",
|
|
"!ios-runner/**/*.xcuserstate",
|
|
"macos-helper",
|
|
"!macos-helper/**/.build",
|
|
"src/platforms/linux/atspi-dump.py",
|
|
"skills",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"pnpm": {
|
|
"overrides": {
|
|
"lodash-es": "4.18.1"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"agent",
|
|
"device",
|
|
"cli",
|
|
"adb",
|
|
"simctl",
|
|
"devicectl",
|
|
"ios",
|
|
"android"
|
|
],
|
|
"dependencies": {
|
|
"fast-xml-parser": "^5.5.10",
|
|
"pngjs": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.58.1",
|
|
"@rslib/core": "0.20.1",
|
|
"@types/node": "^22.0.0",
|
|
"@types/pngjs": "^6.0.5",
|
|
"oxfmt": "^0.42.0",
|
|
"oxlint": "^1.57.0",
|
|
"typescript": "^6.0.2",
|
|
"vite": "^8.0.7",
|
|
"vitest": "^4.1.2"
|
|
}
|
|
}
|