-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 1.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "webext-rpc",
"version": "1.0.4",
"packageManager": "pnpm@9.5.0",
"description": "A type-safe RPC for all webextension, client side code does not contain the actual called code, supports async generator functions",
"type": "module",
"publishConfig": {
"access": "public"
},
"files": [
"lib"
],
"main": "lib/index.cjs",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./lib/index.cjs"
},
"./utils": {
"import": "./lib/utils/index.js",
"require": "./lib/utils/index.cjs"
}
},
"scripts": {
"build": "tsup src/index.ts src/utils/index.ts --clean --out-dir lib --dts --format esm,cjs,iife --global-name webextRPC",
"test": "vitest",
"buildWhithDemo": "pnpm run build && cd demo && pnpm install && pnpm run dev",
"publish:ci": "tsx script/release.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/axuj/webext-rpc"
},
"keywords": [
"webextension",
"extension",
"browser-extension",
"chrome-extension",
"firefox-extension",
"safari-extension",
"rpc",
"type-safe",
"webext",
"web-ext",
"chrome",
"firefox",
"safari",
"browser"
],
"license": "MIT",
"dependencies": {
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@swc/core": "^1.6.13",
"@types/webextension-polyfill": "^0.10.7",
"@vitest/coverage-v8": "^2.0.3",
"tsup": "^8.1.1",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"vitest": "^2.0.3",
"zx": "^8.1.4"
},
"peerDependencies": {
"webextension-polyfill": "^0.10.0"
}
}