-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.88 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 2.88 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
{
"name": "react-native-mcp",
"version": "0.1.0",
"private": true,
"workspaces": [
"packages/*",
"examples/*",
"editor/*",
"document"
],
"scripts": {
"build": "bun run build:mcp",
"build:mcp": "bun run --filter @ohah/react-native-mcp-server build",
"postinstall": "bun run build && node scripts/link-mcp-bin.mjs",
"dev": "bun scripts/dev.ts",
"dev:all": "bun run --filter='*' dev",
"dev:server": "bun run --filter='@ohah/react-native-mcp-server' dev",
"dev:demo": "cd examples/demo-app && bun run start",
"mcp": "bun run --filter @ohah/react-native-mcp-server mcp",
"test": "bun run --filter @ohah/react-native-mcp-server test",
"test:mcp": "bun run build && bun run scripts/test-mcp-server.ts",
"typecheck": "bunx tsc --noEmit -p packages/react-native-mcp-server",
"lint": "oxlint .",
"format": "oxfmt .",
"format:check": "oxfmt . --check",
"test:unit": "bun test packages/",
"test:watch": "bun test --watch",
"test:coverage": "bun test packages/ --coverage",
"test:e2e": "bun run build:mcp && node packages/react-native-mcp-server/dist/test/cli.js run examples/demo-app/e2e/all-steps.yaml",
"test:e2e:phase2": "bun run build:mcp && node packages/react-native-mcp-server/dist/test/cli.js run examples/demo-app/e2e/phase2-flow-control.yaml",
"test:e2e:network-mock": "bun run build:mcp && node packages/react-native-mcp-server/dist/test/cli.js run examples/demo-app/e2e/network-mock.yaml",
"test:e2e:phase3": "bun run build:mcp && node packages/react-native-mcp-server/dist/test/cli.js run examples/demo-app/e2e/phase3-clear-state-set-location-copy-paste.yaml",
"test:e2e:visual-update": "bun run build:mcp && node packages/react-native-mcp-server/dist/test/cli.js run examples/demo-app/e2e/visual-regression-update.yaml",
"test:e2e:visual-check": "bun run build:mcp && node packages/react-native-mcp-server/dist/test/cli.js run examples/demo-app/e2e/visual-regression-check.yaml",
"setup-mcp": "bun run .cursor/scripts/set-mcp-mise-path.ts",
"test:yaml": "bun run build:mcp && node packages/react-native-mcp-server/dist/test/cli.js",
"dashboard": "bun run build:mcp && bun packages/react-native-mcp-server/dist/index.js test run examples/demo-app/e2e/ -r dashboard -o e2e-results",
"dashboard:show": "bun packages/react-native-mcp-server/dist/index.js test report show -o e2e-results",
"docs:dev": "bun run --filter document dev",
"docs:build": "bun run --filter document build",
"docs:preview": "bun run --filter document preview"
},
"devDependencies": {
"@happy-dom/global-registrator": "^20.0.11",
"@modelcontextprotocol/sdk": "^1.25.0",
"@ohah/react-native-mcp-server": "workspace:*",
"@types/bun": "latest",
"@types/jest": "^30.0.0",
"@types/node": "^20.0.0",
"oxfmt": "latest",
"oxlint": "latest"
},
"peerDependencies": {
"typescript": "^5"
}
}