|
- {
- "name": "webextension-rpc",
- "version": "0.3.0",
- "description": "Remote Procedure Call implementation for WebExtensions, to easily call functions across content scripts and background script.",
- "main": "./lib/index.js",
- "types": "./lib/index.d.ts",
- "exports": {
- ".": {
- "import": "./lib/index.js",
- "types": "./lib/index.d.ts"
- },
- "./RpcClient": {
- "import": "./lib/RpcClient.js",
- "types": "./lib/RpcClient.d.ts"
- },
- "./RpcServer": {
- "import": "./lib/RpcServer.js",
- "types": "./lib/RpcServer.d.ts"
- }
- },
- "files": [
- "lib"
- ],
- "scripts": {
- "prepare": "tsc",
- "test": "ava"
- },
- "homepage": "https://code.treora.com/gerben/webextension-rpc",
- "repository": {
- "type": "git",
- "url": "https://code.treora.com/gerben/webextension-rpc"
- },
- "author": "Gerben <gerben@treora.com>",
- "license": "CC0-1.0",
- "dependencies": {},
- "devDependencies": {
- "@types/firefox-webext-browser": "^94.0.1",
- "ava": "^4.3.1",
- "ts-node": "^10.9.1",
- "ts-sinon": "^2.0.2",
- "typescript": "^4.7.4"
- },
- "ava": {
- "extensions": [
- "ts"
- ],
- "require": [
- "ts-node/register"
- ]
- }
- }
|