fix(package): drop ./ prefix from bin entries
npm 10+ strips bin paths starting with ./ as invalid, leaving the package with no executable entries (so `npm i -g` doesn't put any binary on PATH). Match the upstream form `bin/agent-browser.js`.
This commit is contained in:
+3
-3
@@ -11,9 +11,9 @@
|
||||
"extensions"
|
||||
],
|
||||
"bin": {
|
||||
"agent-browser-stealth": "./bin/agent-browser.js",
|
||||
"agent-browser": "./bin/agent-browser.js",
|
||||
"abs": "./bin/agent-browser.js"
|
||||
"agent-browser-stealth": "bin/agent-browser.js",
|
||||
"agent-browser": "bin/agent-browser.js",
|
||||
"abs": "bin/agent-browser.js"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky",
|
||||
|
||||
Reference in New Issue
Block a user