-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
80 lines (80 loc) · 1.84 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
{
"name": "chrome-webstore-upload",
"version": "3.1.4",
"description": "Upload Chrome Extensions to the Chrome Web Store",
"keywords": [
"chrome",
"publish",
"webstore",
"store",
"extension",
"deploy",
"update",
"upload"
],
"repository": "fregante/chrome-webstore-upload",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Andrew Levine",
"contributors": [
"Federico Brigante <me@fregante.com> (https://fregante.com)"
],
"type": "module",
"exports": "./index.js",
"types": "./index.d.ts",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"prebundle": "dot-json test/extension/manifest.json version $(utc-version)",
"bundle": "web-ext build --filename live-test.zip --overwrite-dest",
"postbundle": "git restore test/extension/manifest.json",
"build": "tsc",
"watch": "tsc -w",
"prepack": "npm run build",
"test": "xo && vitest run && tsc",
"test:upload": "eval $(cat .env) node test/live-test.js",
"upload": "npm run bundle && npm run test:upload"
},
"xo": {
"rules": {
"camelcase": "off",
"object-curly-spacing": [
"error",
"always"
]
},
"overrides": [
{
"files": [
"**/*.ts"
],
"rules": {
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/object-curly-spacing": [
"error",
"always"
]
}
}
],
"space": 4
},
"devDependencies": {
"@sindresorhus/tsconfig": "^5.0.0",
"dot-json": "^1.3.0",
"fetch-mock": "^9.11.0",
"node-fetch": "^2.7.0",
"typescript": "^5.3.3",
"utc-version": "^2.0.2",
"vitest": "^1.6.0",
"xo": "^0.58.0"
},
"engines": {
"node": ">=18"
},
"webExt": {
"sourceDir": "test/extension"
}
}