-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.58 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
{
"name": "webext-inject-on-install",
"version": "2.2.1",
"description": "Automatically add content scripts to existing tabs when your extension is installed",
"keywords": [
"browser",
"content script",
"existing tabs",
"extension",
"chrome",
"firefox",
"safari",
"inject"
],
"repository": "fregante/webext-inject-on-install",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <[email protected]> (https://fregante.com)",
"type": "module",
"exports": {
".": "./distribution/register.js",
"./register": "./distribution/register.js",
"./inject.js": "./distribution/inject.js"
},
"files": [
"distribution"
],
"scripts": {
"build": "tsc",
"demo:build": "parcel build --no-cache",
"demo:watch": "parcel watch --no-cache --no-hmr",
"prepack": "tsc --sourceMap false",
"test": "tsc --noEmit && xo && npm run test:bun",
"test:bun": "bun test --preload ./source/test-setup.js",
"watch": "tsc --watch"
},
"xo": {
"rules": {
"unicorn/prefer-top-level-await": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"type rules disabled because xo is unable to pick up the types": "off"
}
},
"dependencies": {
"webext-content-scripts": "^2.7.0",
"webext-detect": "^5.0.2",
"webext-events": "^3.0.1",
"webext-polyfill-kinda": "^1.0.2"
},
"devDependencies": {
"@parcel/config-webextension": "^2.12.0",
"@sindresorhus/tsconfig": "^6.0.0",
"@types/chrome": "^0.0.268",
"@types/sinon-chrome": "^2.2.15",
"bun": "^1.1.17",
"bun-types": "^1.1.17",
"parcel": "^2.12.0",
"sinon-chrome": "^3.0.1",
"typescript": "^5.5.2",
"xo": "^0.58.0"
},
"engines": {
"node": ">=18"
},
"targets": {
"main": false,
"default": {
"engines": {
"browsers": ""
},
"source": "./demo/manifest.json",
"distDir": "./node_modules/.built/demo",
"sourceMap": {
"inline": true
},
"optimize": false
}
},
"webExt": {
"sourceDir": "node_modules/.built/demo",
"run": {
"startUrl": [
"https://ephiframe.vercel.app/tab-1",
"https://ephiframe.vercel.app/tab-2",
"https://ephiframe.vercel.app/tab-3",
"https://ephiframe.vercel.app/tab-4",
"https://ephiframe.vercel.app/tab-5",
"https://ephiframe.vercel.app/tab-6",
"https://ephiframe.vercel.app/tab-7",
"https://ephiframe.vercel.app/tab-8",
"https://ephiframe.vercel.app/tab-9",
"https://ephiframe.vercel.app/tab-10",
"https://ephiframe.vercel.app/tab-11",
"https://alt-ephiframe.vercel.app"
]
}
}
}