-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.62 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.62 KB
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
{
"type": "module",
"version": "2.0.0",
"scripts": {
"build": "rolldown -c rolldown.config.ts",
"build:firefox": "rm -rf dist/firefox && pnpm run build --environment BROWSER:firefox",
"build:chrome": "rm -rf dist/chrome && pnpm run build --environment BROWSER:chrome",
"dev:firefox": "cd dist/firefox && web-ext run --config=../../web-ext-config.mjs --devtools",
"dev:chrome": "cd dist/chrome && web-ext run --config=../../web-ext-config.mjs -t chromium --args='--auto-open-devtools-for-tabs'",
"lint": "eslint .",
"sign": "cd dist/firefox && web-ext sign --config=../../web-ext-config.mjs",
"version": "node version.js && git add . && npm run build",
"watch:firefox": "pnpm run build:firefox -w",
"watch:chrome": "pnpm run build:chrome -w",
"wlint": "cd dist/firefox && web-ext lint",
"zip:firefox": "cd dist/firefox && web-ext build --config=../../web-ext-config.mjs",
"zip:chrome": "tsx zip-chrome.ts",
"upload:chrome": "tsx upload-chrome.ts"
},
"dependencies": {
"adm-zip": "^0.5.16",
"chrome-webstore-upload-cli": "^3.5.0",
"dotenv": "^17.2.2",
"glob": "^13.0.6"
},
"devDependencies": {
"@antfu/eslint-config": "^5.2.2",
"@types/adm-zip": "^0.5.7",
"@types/webextension-polyfill": "^0.12.4",
"eslint": "^9.34.0",
"eslint-plugin-format": "^1.0.1",
"rolldown": "1.0.0-rc.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-delete": "^3.0.2",
"tsx": "^4.21.0",
"web-ext": "^8.9.0",
"webextension-polyfill": "^0.12.0"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "9"
}
}
}
}