-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
112 lines (112 loc) · 2.66 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"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/zikaari/webext-bridge.git"
},
"author": "Neek Sandhu <neek.sandhu@outlook.com>",
"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 --format esm,cjs --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"
}
},
"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"
]
}
},
"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.8.3",
"nanoevents": "^6.0.2",
"serialize-error": "^9.0.0",
"tiny-uid": "^1.1.1",
"webextension-polyfill": "^0.9.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.16.1",
"@types/node": "^17.0.16",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"bumpp": "^7.1.1",
"eslint": "^8.8.0",
"tsup": "^5.11.13",
"type-fest": "^2.11.1",
"typescript": "^4.5.5"
}
}