forked from BewlyBewly/BewlyBewly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.55 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
{
"name": "bewly-bewly",
"displayName": "BewlyBewly",
"type": "module",
"version": "0.18.4",
"private": true,
"packageManager": "pnpm@9.1.0",
"description": "Just make a few small changes to your Bilibili homepage.",
"homepage": "https://github.com/hakadao/BewlyBewly",
"scripts": {
"dev": "npm run clear && cross-env NODE_ENV=development run-p dev:*",
"dev-firefox": "npm run clear-firefox && cross-env NODE_ENV=development FIREFOX=true run-p dev:*",
"dev:prepare": "esno scripts/prepare.ts",
"dev:web": "vite",
"dev:js": "npm run build:js -- --mode development",
"dev:bg": "tsup --watch ./src",
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:js build:bg",
"build-firefox": "cross-env NODE_ENV=production FIREFOX=true run-s clear-firefox build:web build:prepare build:js build:bg",
"build:prepare": "esno scripts/prepare.ts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.ts",
"build:bg": "tsup",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./extension.zip",
"pack:zip-firefox": "rimraf extension-firefox.zip && jszip-cli add extension-firefox/* -o ./extension-firefox.zip",
"pack:crx": "crx pack extension -o ./extension.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ FIREFOX=true web-ext build --source-dir ./extension-firefox --filename extension.xpi --overwrite-dest",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension-firefox --target=firefox-desktop",
"clear": "rimraf --glob extension extension.*",
"clear-firefox": "rimraf --glob extension-firefox extension-firefox.*",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "vitest test",
"typecheck": "vue-tsc",
"postinstall": "npx simple-git-hooks",
"knip": "knip"
},
"dependencies": {
"@types/md5": "^2.3.5",
"dom-align": "^1.12.4",
"md5": "^2.3.0",
"mitt": "^3.0.1",
"overlayscrollbars": "^2.8.0",
"overlayscrollbars-vue": "^0.5.9",
"pinia": "^2.1.7",
"qrcode.vue": "^3.4.1",
"vue-i18n": "^9.13.1",
"vue-toastification": "2.0.0-rc.5",
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.17.0",
"@ffflorian/jszip-cli": "^3.6.3",
"@iconify/json": "^2.2.208",
"@iconify/vue": "^4.1.2",
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.12.11",
"@types/webextension-polyfill": "^0.10.7",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^10.9.0",
"chokidar": "^3.6.0",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^9.2.0",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"jsdom": "^24.0.0",
"knip": "^5.14.0",
"kolorist": "^1.8.0",
"lint-staged": "^15.2.2",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.5",
"sass": "^1.77.0",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"unocss": "0.59.4",
"unplugin-auto-import": "^0.17.5",
"unplugin-icons": "^0.19.0",
"unplugin-vue-components": "^0.27.0",
"vite": "^5.2.11",
"vitest": "^1.6.0",
"vue": "^3.4.27",
"vue-tsc": "^2.0.16",
"web-ext": "^7.11.0",
"webext-bridge": "5.0.5",
"webextension-polyfill": "^0.11.0",
"wxt": "^0.18.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}