-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 2.59 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 2.59 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
47
48
49
50
51
{
"name": "git-better-image-diff",
"author": "Tiago Silva",
"displayName": "Better GitHub Image Diff",
"description": "The Better Github Image Diff Chromium/Firefox extension improves the image diff experience on GitHub `Files Changed` view.",
"private": true,
"version": "1.4.0",
"type": "module",
"packageManager": "pnpm@9.11.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "husky",
"build:prepare": "tsx --env-file=.env scripts/prepare.ts || tsx scripts/prepare.ts",
"build:web": "vite build",
"build:background": "vite build --config vite.config.background.mts",
"build:js": "vite build --config vite.config.content.mts",
"build": "cross-env NODE_ENV=production pnpm clear && pnpm build:prepare && vite build && pnpm build:background && pnpm build:js",
"build:firefox": "cross-env EXTENSION=firefox pnpm build",
"build:chromium": "cross-env EXTENSION=chromium pnpm build",
"start:firefox": "pnpm build:firefox && web-ext run --source-dir ./dist --browser-console --target=firefox-desktop",
"start:chromium": "pnpm build:chromium && web-ext run --source-dir ./dist --browser-console --start-url https://github.com/bancorprotocol/carbon-app/pull/1464/files --target=chromium",
"dev:firefox": "pnpm build:firefox && web-ext run --source-dir ./dist --browser-console --devtools --reload --start-url https://github.com/bancorprotocol/carbon-app/pull/1464/files --target=firefox-desktop",
"dev:chromium": "pnpm build:chromium && web-ext run --source-dir ./dist --browser-console --devtools --reload --start-url https://github.com/bancorprotocol/carbon-app/pull/1464/files --target=chromium",
"pack:firefox": "pnpm build:firefox && web-ext build -s dist --overwrite-dest -n {name}_{version}_firefox.zip",
"pack:chromium": "pnpm build:chromium && web-ext build -s dist --overwrite-dest -n {name}_{version}_chromium.zip",
"lint": "web-ext lint -s dist",
"clear": "rimraf --glob dist/src dist/manifest.json dist.*",
"e2e": "pnpm build:chromium && pnpm playwright test"
},
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@playwright/test": "1.52.0",
"@types/fs-extra": "11.0.4",
"@types/node": "22.14.0",
"@types/webextension-polyfill": "0.12.3",
"cross-env": "7.0.3",
"fs-extra": "11.3.0",
"husky": "9.1.7",
"rimraf": "6.0.1",
"tsx": "4.19.4",
"typescript": "5.8.3",
"unplugin-auto-import": "0.18.3",
"vite": "5.4.8",
"web-ext": "8.7.1",
"webextension-polyfill": "0.12.0"
},
"dependencies": {
"pixelmatch": "7.1.0"
}
}