Skip to content

Commit 72797da

Browse files
authored
Merge pull request #63 from browserbase/kj/npm
[Feat]: NPM deployment
2 parents 2ef8a06 + bf0534a commit 72797da

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

browserbase/cli.js

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#!/usr/bin/env node
12
import './dist/program.js';

browserbase/package.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,26 @@
33
"version": "0.5.1",
44
"description": "MCP server for browser automation using browserbase",
55
"license": "MIT",
6-
"author": "Anthropic, PBC (https://anthropic.com)",
7-
"homepage": "https://modelcontextprotocol.io",
8-
"bugs": "https://github.com/modelcontextprotocol/servers/issues",
6+
"author": "Browserbase, Inc. (https://browserbase.com)",
7+
"homepage": "https://browserbase.com",
98
"type": "module",
109
"engines": {
1110
"node": ">=18"
1211
},
1312
"files": [
14-
"dist"
13+
"dist",
14+
"cli.js",
15+
"index.d.ts",
16+
"index.js",
17+
"config.d.ts",
18+
"config.js"
1519
],
1620
"scripts": {
17-
"build": "tsc && shx chmod +x dist/*.js",
21+
"build": "tsc && shx chmod +x dist/*.js && shx chmod +x cli.js",
1822
"prepare": "npm run build",
1923
"watch": "tsc --watch",
20-
"inspector": "npx @modelcontextprotocol/inspector build/index.js"
24+
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
25+
"test-local": "npm pack && npm install -g $(pwd)/$(ls -t *.tgz | head -1) && mcp-server-browserbase"
2126
},
2227
"exports": {
2328
"./package.json": "./package.json",

0 commit comments

Comments
 (0)