-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
76 lines (76 loc) · 2.81 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
{
"name": "bilibili-img-uploader",
"displayName": "B站图床",
"version": "2.2.4",
"description": "B站图床、转短链插件",
"private": true,
"author": "xlzy",
"homepage": "https://github.com/xlzy520/bilibili-img-uploader",
"scripts": {
"prod": "npm run build && npm run pack:zip && open .",
"publish:patch": "npm version patch && git push origin main --tags",
"dev": "npm run clear && cross-env NODE_ENV=development 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: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: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 extension/dist extension/manifest.json extension.*",
"lint": "eslint 'src/**/*.{json,ts,js,vue}'"
},
"devDependencies": {
"@antfu/eslint-config": "^0.27.0",
"@ffflorian/jszip-cli": "^3.1.6",
"@iconify-json/icon-park-outline": "^1.0.1",
"@iconify-json/pixelarticons": "^1.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.8.3",
"@types/webextension-polyfill": "^0.9.1",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@vitejs/plugin-vue": "^3.1.2",
"@vitejs/plugin-vue-jsx": "1.2.0",
"@vue/compiler-sfc": "^3.2.40",
"@vue/test-utils": "^2.1.0",
"@vueuse/core": "^9.3.0",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^8.25.0",
"esno": "^0.16.3",
"fs-extra": "^10.1.0",
"jsdom": "^20.0.1",
"kolorist": "^1.6.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"tsup": "^6.5.0",
"typescript": "^4.8.4",
"sass": "^1.45.1",
"unplugin-auto-import": "^0.11.2",
"unplugin-icons": "^0.14.11",
"unplugin-vue-components": "^0.22.8",
"vite": "^3.1.6",
"vite-plugin-windicss": "^1.4.8",
"vitest": "^0.24.0",
"vue": "^3.2.40",
"vue-demi": "^0.13.11",
"web-ext": "^7.2.0",
"webext-bridge": "^5.0.5",
"webextension-polyfill": "^0.10.0"
},
"dependencies": {
"@arco-design/web-vue": "^2.46.0",
"idb-js": "^1.3.1",
"uuidjs": "^4.2.9"
}
}