-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.68 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
{
"name": "env-specific-favicon",
"displayName": "Env Specific Favicon",
"version": "1.3.1",
"description": "Browser extension to customize favicons based on URL and title regex matching",
"private": true,
"scripts": {
"dev": "npm run clear && cross-env NODE_ENV=development run-p dev:*",
"dev-firefox": "npm run clear && cross-env NODE_ENV=development EXTENSION=firefox run-p dev:*",
"dev:prepare": "esno scripts/prepare.ts",
"dev:background": "npm run build:background -- --mode development",
"dev:web": "vite",
"dev:js": "npm run build:js -- --mode development",
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:background build:js",
"build-firefox": "cross-env NODE_ENV=production EXTENSION=firefox run-s clear build:web build:prepare build:background build:js",
"build:prepare": "esno scripts/prepare.ts",
"build:background": "vite build --config vite.config.background.ts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.ts",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./env-specific-favicon-$npm_package_version.zip",
"pack:crx": "crx pack extension -o ./env-specific-favicon-$npm_package_version.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename env-specific-favicon-$npm_package_version.xpi --overwrite-dest",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop",
"clear": "rimraf --glob extension/dist extension/manifest.json extension.*",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@ffflorian/jszip-cli": "^3.4.1",
"@types/fs-extra": "^11.0.2",
"@types/node": "^20.6.3",
"@types/offscreencanvas": "^2019.7.1",
"@types/webextension-polyfill": "^0.10.3",
"@vitejs/plugin-vue": "^4.3.4",
"@vue/compiler-sfc": "^3.3.4",
"@vueuse/core": "^10.4.1",
"chokidar": "^3.5.2",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"esno": "^0.17.0",
"floating-vue": "^2.0.0-beta.24",
"focus-trap": "^7.5.2",
"fs-extra": "^11.1.1",
"just-debounce-it": "^3.2.0",
"kolorist": "^1.8.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"sass": "^1.68.0",
"typescript": "^5.2.2",
"unplugin-auto-import": "^0.16.6",
"vite": "^4.4.9",
"vue": "^3.3.4",
"vue-dndrop": "1.2.x",
"web-ext": "^7.7.0",
"webext-bridge": "^6.0.1",
"webextension-polyfill": "^0.10.0"
},
"volta": {
"node": "20.7.0",
"yarn": "1.22.19"
}
}