forked from utags/browser-extension-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 4.13 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
{
"name": "v2ex.rep",
"displayName": "V2EX.REP - 专注提升 V2EX 主题回复浏览体验",
"displayName:zh-CN": "V2EX.REP - 专注提升 V2EX 主题回复浏览体验",
"version": "1.5.4",
"description": "专注提升 V2EX 主题回复浏览体验的浏览器扩展/用户脚本。主要功能有 ✅ 修复有被 block 的用户时错位的楼层号;✅ 回复时自动带上楼层号;✅ 显示热门回复;✅ 显示被引用的回复;✅ 查看用户在当前主题下的所有回复与被提及的回复;✅ 自动预加载所有分页,支持解析显示跨页面引用;✅ 回复时上传图片;✅ 无感自动签到;✅ 懒加载用户头像图片;✅ 一直显示感谢按钮 🙏;✅ 一直显示隐藏回复按钮 🙈;✅ 快速发送感谢/快速隐藏回复(no confirm)等。",
"description:zh-CN": "专注提升 V2EX 主题回复浏览体验的浏览器扩展/用户脚本。主要功能有 ✅ 修复有被 block 的用户时错位的楼层号;✅ 回复时自动带上楼层号;✅ 显示热门回复;✅ 显示被引用的回复;✅ 查看用户在当前主题下的所有回复与被提及的回复;✅ 自动预加载所有分页,支持解析显示跨页面引用;✅ 回复时上传图片;✅ 无感自动签到;✅ 懒加载用户头像图片;✅ 一直显示感谢按钮 🙏;✅ 一直显示隐藏回复按钮 🙈;✅ 快速发送感谢/快速隐藏回复(no confirm)等。",
"author": "Pipecraft",
"namespace": "https://github.com/v2hot/v2ex.rep",
"icon": "https://www.v2ex.com/favicon.ico",
"license": "MIT",
"bugs": {
"url": "https://github.com/v2hot/v2ex.rep/issues"
},
"homepage": "https://github.com/v2hot/v2ex.rep#readme",
"scripts": {
"p": "prettier --write .",
"lint": "run-s lint:*",
"lint:code": "prettier --write . && xo --fix",
"lint:type": "tsc --noemit",
"dev": "run-p dev:*",
"dev:chrome": "plasmo dev",
"dev:firefox": "sleep 2 && plasmo dev --target=firefox-mv2",
"dev:userscript": "node scripts/userscript/watch.mjs",
"dev:bookmarklet": "node scripts/bookmarklet/watch.mjs",
"dev:module": "node scripts/module/watch.mjs",
"staging": "run-p staging:*",
"staging:userscript": "node scripts/userscript/build.mjs --staging && pnpm prettier --loglevel warn --write build/userscript-staging/ && http-server build/userscript-staging/ -o",
"build": "run-s build:*",
"build:chrome": "plasmo build",
"build:firefox": "plasmo build --target=firefox-mv2",
"build:userscript": "node scripts/userscript/build.mjs && pnpm prettier --loglevel warn --write build/userscript-prod/",
"build:bookmarklet": "node scripts/bookmarklet/build.mjs",
"build:module": "node scripts/module/build.mjs && pnpm prettier --loglevel warn --write build/module-prod/",
"package": "run-s package:*",
"package:chrome": "plasmo package",
"package:firefox": "plasmo package --target=firefox-mv2"
},
"dependencies": {
"browser-extension-i18n": "^0.0.6",
"browser-extension-settings": "^0.5.4",
"browser-extension-storage": "^0.1.2",
"browser-extension-utils": "^0.1.18",
"plasmo": "^0.77.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@plasmohq/prettier-plugin-sort-imports": "^3.6.4",
"@types/chrome": "^0.0.244",
"@types/node": "^20.5.7",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"bookmarkleter": "^1.1.0",
"esbuild": "^0.19.2",
"http-server": "^14.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"sass": "^1.66.1",
"typescript": "^5.2.2",
"xo": "^0.56.0"
},
"manifest": {
"host_permissions": [
"https://*/*"
],
"permissions": [
"storage",
"tabs"
]
},
"xo": {
"space": 2,
"prettier": true,
"globals": [
"document"
],
"rules": {
"import/extensions": 0,
"import/order": 0,
"@typescript-eslint/prefer-nullish-coalescing": 0,
"capitalized-comments": 0
},
"overrides": [
{
"files": "src/messages/*.ts",
"rules": {
"@typescript-eslint/naming-convention": 0
}
}
]
}
}