-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
85 lines (85 loc) · 1.79 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-events",
"version": "3.1.1",
"description": "High-level events and utilities for events in Web Extensions",
"keywords": [
"browser",
"extension",
"chrome",
"firefox",
"safari",
"webextension",
"onStartup",
"extension start event",
"web-ext"
],
"repository": "fregante/webext-events",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <[email protected]> (https://fregante.com)",
"type": "module",
"exports": "./distribution/index.js",
"main": "./distribution/index.js",
"types": "./distribution/index.d.ts",
"files": [
"distribution"
],
"scripts": {
"build": "tsc",
"demo:build": "parcel build --no-cache",
"demo:watch": "parcel watch --no-cache",
"prepack": "tsc --sourceMap false",
"test": "tsc --noEmit && xo && vitest run",
"test:watch": "vitest",
"watch": "tsc --watch"
},
"xo": {
"envs": [
"browser"
],
"globals": [
"chrome"
],
"rules": {
"n/prefer-global/process": 0,
"@typescript-eslint/no-implicit-any-catch": 0,
"@typescript-eslint/no-empty-function": 0
}
},
"devDependencies": {
"@parcel/config-webextension": "^2.12.0",
"@sindresorhus/tsconfig": "^6.0.0",
"@types/chrome": "^0.0.268",
"@types/jest": "^29.5.12",
"@types/sinon-chrome": "^2.2.15",
"jest-chrome": "^0.8.0",
"parcel": "^2.12.0",
"sinon-chrome": "^3.0.1",
"typescript": "^5.5.2",
"vitest": "^1.6.0",
"xo": "^0.58.0"
},
"engines": {
"node": ">=18"
},
"targets": {
"main": false,
"default": {
"engines": {
"browsers": ""
},
"source": "./source/demo/manifest.json",
"distDir": "./.built/demo",
"sourceMap": {
"inline": true
},
"optimize": false
}
},
"webExt": {
"sourceDir": ".built/demo"
},
"dependencies": {
"webext-detect": "^5.0.2"
}
}