-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 3.48 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 3.48 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
{
"name": "chrome-remote-devtools",
"version": "0.1.0",
"private": true,
"workspaces": [
"packages/*",
"document",
"examples/*"
],
"scripts": {
"dev": "INSPECTOR_MODE=tauri bun scripts/dev.ts",
"dev:web": "INSPECTOR_MODE=web bun scripts/dev.ts",
"dev:all": "bun run --filter='*' dev",
"dev:example:basic": "bun run --filter='basic' dev",
"dev:server": "cargo run --bin chrome-remote-devtools-server -- --port 8080 --host 0.0.0.0",
"dev:server:legacy": "bun run --filter='@ohah/chrome-remote-devtools-server' dev",
"dev:inspector": "bun run --filter='@ohah/chrome-remote-devtools-inspector' dev",
"dev:inspector:tauri": "bun run --filter='@ohah/chrome-remote-devtools-inspector' tauri dev",
"dev:docs": "bun run --filter='docs' dev",
"lint": "oxlint .",
"format": "oxfmt .",
"format:check": "oxfmt . --check",
"format:rust": "cargo fmt --all",
"format:rust:check": "cargo fmt --all -- --check",
"build:devtools": "bun run --filter='@ohah/redux-devtools-plugin' build && cd devtools/devtools-frontend && gclient sync && gn gen out/Default && autoninja -C out/Default && cd ../.. && bun run copy:devtools-bundled",
"build:devtools:clean": "rm -rf devtools/devtools-frontend/out && bun run build:devtools",
"build:client": "bun run --filter='@ohah/chrome-remote-devtools-client' build",
"build:docs": "bun run --filter='docs' build",
"postinstall": "playwright install --with-deps chromium",
"test:unit": "bun test packages/server && bun test packages/client && bun test packages/inspector/src && bun test packages/react-native-inspector/src/__tests__",
"test:unit:server": "bun test packages/server --coverage",
"test:unit:client": "bun test packages/client --coverage",
"test:unit:inspector": "bun test packages/inspector/src --coverage",
"test:unit:react-native-inspector": "bun test packages/react-native-inspector/src/__tests__ --coverage",
"test:watch": "bun test --watch",
"test:coverage": "bun test packages/server --coverage && bun test packages/client --coverage && bun test packages/inspector/src --coverage && bun test packages/react-native-inspector/src/__tests__ --coverage",
"test:e2e": "playwright test tests/e2e",
"test:e2e:integration": "playwright test tests/integration",
"test:e2e:integration:ui": "playwright test --ui",
"test:e2e:integration:debug": "playwright test --debug",
"test:maestro": "maestro test .maestro",
"test:maestro:android": "MAESTRO_APP_ID=com.chromeremotedevtools maestro test .maestro",
"test:maestro:android:build": "cd examples/react-native && bun run android:release && cd ../.. && bun run test:maestro:android",
"test:maestro:ios": "MAESTRO_APP_ID=org.reactjs.native.example.ChromeRemoteDevTools maestro test .maestro",
"test:maestro:ios:build": "cd examples/react-native && bun run ios:release && cd ../.. && bun run test:maestro:ios",
"test:maestro:studio": "maestro studio",
"copy:devtools-bundled": "bun scripts/copy-devtools-bundled.ts",
"release:rn-inspector": "bun scripts/release-rn-inspector.ts",
"release": "bun run release:rn-inspector",
"setup-mcp": "bun run .cursor/scripts/set-mcp-mise-path.ts"
},
"devDependencies": {
"@happy-dom/global-registrator": "^20.0.11",
"@playwright/test": "^1.40.0",
"@types/bun": "latest",
"@types/node": "^20.0.0",
"@types/ws": "^8.5.10",
"oxfmt": "latest",
"oxlint": "latest",
"ws": "^8.18.0"
},
"peerDependencies": {
"typescript": "^5"
}
}