{ "name": "webext-bridge", "version": "6.0.1", "description": "Messaging in Web Extensions made easy. Out of the box.", "keywords": [ "chrome", "extension", "messaging", "communication", "protocol", "content", "background", "devtools", "script", "crx", "bridge" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/benmo1602/webext-bridge.git" }, "author": "Neek Sandhu ", "scripts": { "build": "tsup src/index.ts src/background.ts src/content-script.ts src/devtools.ts src/options.ts src/popup.ts src/window.ts src/sidepanel.ts --format esm --dts", "watch": "npm run build -- --watch", "release": "bumpp --commit --push --tag && npm run build && npm publish" }, "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./background": { "import": "./dist/background.js", "require": "./dist/background.cjs" }, "./content-script": { "import": "./dist/content-script.js", "require": "./dist/content-script.cjs" }, "./devtools": { "import": "./dist/devtools.js", "require": "./dist/devtools.cjs" }, "./options": { "import": "./dist/options.js", "require": "./dist/options.cjs" }, "./popup": { "import": "./dist/popup.js", "require": "./dist/popup.cjs" }, "./window": { "import": "./dist/window.js", "require": "./dist/window.cjs" }, "./sidepanel": { "import": "./dist/sidepanel.js", "require": "./dist/sidepanel.cjs" } }, "typesVersions": { "*": { "*": [ "dist/index.d.ts" ], "background": [ "dist/background.d.ts" ], "content-script": [ "dist/content-script.d.ts" ], "devtools": [ "dist/devtools.d.ts" ], "options": [ "dist/options.d.ts" ], "popup": [ "dist/popup.d.ts" ], "window": [ "dist/window.d.ts" ], "sidepanel": [ "dist/sidepanel.d.ts" ] } }, "files": [ "README.md", "package.json", "dist/**/*" ], "bugs": { "url": "https://github.com/zikaari/webext-bridge/issues" }, "homepage": "https://github.com/zikaari/webext-bridge#readme", "dependencies": { "@types/webextension-polyfill": "^0.12.3", "nanoevents": "^9.1.0", "serialize-error": "^12.0.0", "tiny-uid": "^1.1.2", "webextension-polyfill": "^0.12.0" }, "devDependencies": { "@antfu/eslint-config": "^4.16.2", "@types/node": "^22.14.0", "@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/parser": "^8.35.1", "bumpp": "^10.2.0", "eslint": "^9.30.1", "tsup": "^8.5.0", "type-fest": "^4.41.0", "typescript": "^5.8.3" } }