-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 1.76 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
{
"name": "webext-detect",
"version": "5.3.0",
"description": "Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.",
"keywords": [
"background page",
"browser",
"chrome",
"content script",
"detect",
"extension",
"context",
"firefox",
"safari",
"options page",
"web-ext",
"webext",
"where"
],
"repository": "fregante/webext-detect",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <[email protected]> (https://fregante.com)",
"type": "module",
"exports": "./index.js",
"types": "./index.d.ts",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"build": "tsc",
"demo:build": "NODE_NO_WARNINGS=1 parcel build --no-cache",
"demo:watch": "NODE_NO_WARNINGS=1 parcel watch --no-cache --no-hmr",
"prepare": "tsc --sourceMap false",
"test": "xo && tsc && node index.js",
"watch": "tsc --watch"
},
"xo": {
"rules": {
"n/no-unsupported-features/node-builtins": "off",
"unicorn/prevent-abbreviations": [
"error",
{
"replacements": {
"dev": false
}
}
]
}
},
"devDependencies": {
"@parcel/config-webextension": "^2.12.1-canary.3358",
"@parcel/resolver-default": "^2.0.0-canary.1735",
"@sindresorhus/tsconfig": "^6.0.0",
"@types/chrome": "^0.0.280",
"parcel": "^2.0.0-canary.1733",
"typescript": "^5.6.3",
"xo": "^0.59.3"
},
"engines": {
"node": ">=18"
},
"@parcel/resolver-default": {
"packageExports": true
},
"targets": {
"main": false,
"default": {
"source": "demo/manifest.json",
"distDir": "./distribution",
"sourceMap": {
"inline": true
}
}
},
"webExt": {
"sourceDir": "distribution",
"run": {
"startUrl": [
"https://example.com"
]
}
}
}