generated from antfu-collective/vitesse-webext
-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
executable file
·104 lines (104 loc) · 3.65 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "enu-music",
"displayName": "ENO-M",
"version": "4.0.0",
"private": true,
"packageManager": "[email protected]",
"description": "A music player extension for Chrome",
"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:prepare": "esno scripts/prepare.ts",
"build:background": "vite build --config vite.config.background.mts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.mts",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./extension.zip",
"pack:crx": "crx pack extension -o ./extension.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename extension.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.*",
"lint": "eslint --cache .",
"test": "vitest test",
"test:e2e": "playwright test",
"postinstall": "simple-git-hooks",
"typecheck": "tsc --noEmit",
"release:major": "release-it major",
"release:minor": "release-it minor",
"release:patch": "release-it patch"
},
"dependencies": {
"@meanc/webext-fetch": "^0.0.3",
"@types/chrome": "^0.0.270",
"@types/howler": "^2.2.12",
"@types/lodash": "^4.17.13",
"@vueuse/math": "^10.11.0",
"browser-id3-writer": "^6.1.0",
"classnames": "^2.5.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"file-saver": "^2.0.5",
"howler": "^2.2.4",
"less": "^4.2.0",
"md5": "^2.3.0",
"nanoid": "^5.0.7",
"pinia": "^2.1.7",
"prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.5",
"uuid": "^10.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.23.2",
"@ffflorian/jszip-cli": "^3.6.2",
"@iconify/json": "^2.2.191",
"@playwright/test": "^1.42.1",
"@types/fs-extra": "^11.0.4",
"@types/md5": "^2.3.5",
"@types/node": "^20.11.26",
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@unocss/reset": "^0.58.5",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.21",
"@vue/test-utils": "^2.4.4",
"@vueuse/core": "^10.9.0",
"chokidar": "^3.6.0",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^8.57.0",
"eslint-plugin-format": "^0.1.2",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"jsdom": "^24.0.0",
"kolorist": "^1.8.0",
"lint-staged": "^15.2.2",
"npm-run-all": "^4.1.5",
"release-it": "^17.6.0",
"release-it-pnpm": "^4.6.3",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.10.0",
"typescript": "^5.4.2",
"unocss": "^0.58.5",
"unplugin-auto-import": "^0.17.5",
"unplugin-icons": "^0.18.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.1.6",
"vitest": "^1.3.1",
"vue": "^3.4.21",
"vue-demi": "^0.14.7",
"web-ext": "^7.11.0",
"webext-bridge": "^6.0.1",
"webextension-polyfill": "^0.10.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}