-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 4 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
{
"name": "browse",
"version": "0.8.3",
"description": "Unified Browserbase CLI for browser automation and cloud APIs.",
"type": "module",
"private": false,
"license": "MIT",
"author": "Browserbase <support@browserbase.com>",
"bin": {
"browse": "bin/run.js"
},
"files": [
"bin",
"dist",
"oclif.manifest.json",
"skills",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"oclif": {
"bin": "browse",
"dirname": "browse",
"commands": "./dist/commands",
"helpClass": "./dist/lib/help",
"hooks": {
"init": "./dist/hooks/init.js",
"prerun": "./dist/hooks/prerun.js",
"finally": "./dist/hooks/finally.js"
},
"topicSeparator": " ",
"topics": {
"cloud": {
"description": "Manage Browserbase cloud resources and APIs."
},
"cloud:projects": {
"description": "Manage Browserbase projects."
},
"cloud:contexts": {
"description": "Manage Browserbase contexts."
},
"cloud:extensions": {
"description": "Manage Browserbase Chrome extensions."
},
"cloud:sessions": {
"description": "Manage Browserbase browser sessions."
},
"cloud:sessions:downloads": {
"description": "Download Browserbase session artifacts."
},
"cloud:sessions:uploads": {
"description": "Upload files to Browserbase sessions."
},
"functions": {
"description": "Develop, publish, and invoke Browserbase Functions."
},
"mouse": {
"description": "Send raw mouse coordinate input."
},
"network": {
"description": "Capture browser network traffic for the active session."
},
"skills": {
"description": "Discover and install browser automation skills."
},
"tab": {
"description": "Manage browser tabs in the active session."
},
"templates": {
"description": "Browse and scaffold Browserbase templates."
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/browserbase/stagehand.git",
"directory": "packages/cli"
},
"bugs": {
"url": "https://github.com/browserbase/stagehand/issues"
},
"homepage": "https://github.com/browserbase/stagehand/tree/main/packages/cli#readme",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"scripts": {
"build": "node -e \"const fs = require('fs'); fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('oclif.manifest.json', { force: true })\" && tsc -p tsconfig.json && pnpm manifest",
"build:local-only": "node -e \"const fs = require('fs'); fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('oclif.manifest.json', { force: true })\" && tsc -p tsconfig.local-only.json && pnpm manifest",
"check": "tsc --noEmit -p tsconfig.json",
"cli": "pnpm build && node bin/run.js",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier . --check --cache",
"lint": "pnpm format:check && pnpm eslint && pnpm check",
"manifest": "oclif manifest .",
"test": "pnpm build && vitest run",
"test:cli": "vitest run",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@browserbasehq/sdk": "^2.12.0",
"@browserbasehq/stagehand": "workspace:*",
"@oclif/core": "^4.11.0",
"@vercel/detect-agent": "^1.2.3",
"archiver": "^7.0.1",
"deepmerge": "^4.3.1",
"dotenv": "^16.5.0",
"ignore": "^7.0.5",
"node-html-markdown": "^1.3.0",
"semver": "^7.7.4",
"tsx": "^4.20.6",
"ws": "^8.18.3",
"zod": "^4.2.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/archiver": "^6.0.3",
"@types/node": "^20.11.30",
"@types/semver": "^7.7.1",
"@types/ws": "^8.18.1",
"eslint": "^10.4.0",
"eslint-plugin-security": "^4.0.0",
"globals": "^17.6.0",
"oclif": "^4.23.1",
"prettier": "3.5.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.59.3",
"vitest": "^4.1.6"
}
}