comctx
Version:
Use RPC to communicate easily across contexts in any JavaScript environment.
33 lines (32 loc) • 894 B
JSON
{
"name": "browser-extension-example",
"description": "This is an example of communication between the content-script page and popup page and background.",
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "wxt",
"dev:firefox": "wxt -b firefox",
"build": "wxt build",
"build:firefox": "wxt build -b firefox",
"zip": "wxt zip",
"zip:firefox": "wxt zip -b firefox",
"postinstall": "wxt prepare",
"lint": "eslint --fix --cache",
"check": "tsc --noEmit"
},
"dependencies": {
"comctx": "workspace:*"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.2.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.3.0",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0",
"wxt": "^0.20.13"
}
}