-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 5.11 KB
/
package.json
File metadata and controls
161 lines (161 loc) · 5.11 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "agent-device",
"version": "0.12.9",
"description": "Agent-driven CLI for mobile UI automation, network inspection, and performance diagnostics across iOS, Android, tvOS, and macOS.",
"license": "MIT",
"author": "Callstack",
"homepage": "https://agent-device.dev/",
"repository": {
"type": "git",
"url": "git+https://github.com/callstackincubator/agent-device.git"
},
"bugs": {
"url": "https://github.com/callstackincubator/agent-device/issues"
},
"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"
},
"./commands": {
"import": "./dist/src/commands/index.js",
"types": "./dist/src/commands/index.d.ts"
},
"./backend": {
"import": "./dist/src/backend.js",
"types": "./dist/src/backend.d.ts"
},
"./io": {
"import": "./dist/src/io.js",
"types": "./dist/src/io.d.ts"
},
"./testing/conformance": {
"import": "./dist/src/testing/conformance.js",
"types": "./dist/src/testing/conformance.d.ts"
},
"./artifacts": {
"import": "./dist/src/artifacts.js",
"types": "./dist/src/artifacts.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"
},
"./install-source": {
"import": "./dist/src/install-source.js",
"types": "./dist/src/install-source.d.ts"
},
"./android-apps": {
"import": "./dist/src/android-apps.js",
"types": "./dist/src/android-apps.d.ts"
},
"./contracts": {
"import": "./dist/src/contracts.js",
"types": "./dist/src/contracts.d.ts"
},
"./selectors": {
"import": "./dist/src/selectors.js",
"types": "./dist/src/selectors.d.ts"
},
"./finders": {
"import": "./dist/src/finders.js",
"types": "./dist/src/finders.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",
"automation",
"adb",
"simctl",
"devicectl",
"ios",
"android",
"tvos",
"macos",
"react-native",
"observability",
"diagnostics",
"network",
"profiling",
"performance"
],
"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"
}
}