forked from callstack/agent-device
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.36 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "agent-device",
"version": "0.3.0",
"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",
"build:node": "pnpm build && rm -f ~/.agent-device/daemon.json",
"build:swift": "swift build -c release --package-path ios-runner/AXSnapshot",
"build:axsnapshot": "pnpm build:swift && mkdir -p dist/bin && cp -f ios-runner/AXSnapshot/.build/release/axsnapshot dist/bin/axsnapshot && chmod +x dist/bin/axsnapshot",
"build:xcuitest": "AGENT_DEVICE_IOS_CLEAN_DERIVED=1 xcodebuild build-for-testing -project ios-runner/AgentDeviceRunner/AgentDeviceRunner.xcodeproj -scheme AgentDeviceRunner -destination \"generic/platform=iOS Simulator\" -derivedDataPath ~/.agent-device/ios-runner/derived",
"build:clis": "pnpm build:node && pnpm build:axsnapshot",
"build:all": "pnpm build:node && pnpm build:axsnapshot && pnpm build:xcuitest",
"ad": "node bin/agent-device.mjs",
"format": "prettier --write .",
"prepublishOnly": "pnpm build:node && pnpm build:axsnapshot",
"prepack": "pnpm build:node && pnpm build:axsnapshot",
"typecheck": "tsc -p tsconfig.json",
"test": "node --test",
"test:unit": "node --test src/core/__tests__/*.test.ts src/daemon/__tests__/*.test.ts src/daemon/handlers/__tests__/*.test.ts src/platforms/**/__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",
"src",
"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"
}
}