forked from utags/browser-extension-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 4.51 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
{
"name": "links-helper",
"displayName": "🔗 Links Helper",
"displayName:zh-CN": "🔗 链接助手",
"version": "0.6.1",
"description": "Open external links in a new tab, open internal links matching the specified rules in a new tab, convert text to hyperlinks, convert image links to image tags(<img>), parse Markdown style links and image tags, parse BBCode style links and image tags",
"description:zh-CN": "支持所有网站在新标签页中打开第三方网站链接(外链),在新标签页中打开符合指定规则的本站链接,解析文本链接为超链接,微信公众号文本转可点击的超链接,图片链接转图片标签,解析 Markdown 格式链接与图片标签,解析 BBCode 格式链接与图片标签",
"author": "Pipecraft",
"namespace": "https://github.com/utags/links-helper",
"icon": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTUnIGhlaWdodD0nMTUnIHZpZXdCb3g9JzAgMCAxNSAxNScgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMyAyQzIuNDQ3NzIgMiAyIDIuNDQ3NzIgMiAzVjEyQzIgMTIuNTUyMyAyLjQ0NzcyIDEzIDMgMTNIMTJDMTIuNTUyMyAxMyAxMyAxMi41NTIzIDEzIDEyVjguNUMxMyA4LjIyMzg2IDEyLjc3NjEgOCAxMi41IDhDMTIuMjIzOSA4IDEyIDguMjIzODYgMTIgOC41VjEySDNWM0w2LjUgM0M2Ljc3NjE0IDMgNyAyLjc3NjE0IDcgMi41QzcgMi4yMjM4NiA2Ljc3NjE0IDIgNi41IDJIM1pNMTIuODUzNiAyLjE0NjQ1QzEyLjkwMTUgMi4xOTQzOSAxMi45Mzc3IDIuMjQ5NjQgMTIuOTYyMSAyLjMwODYxQzEyLjk4NjEgMi4zNjY2OSAxMi45OTk2IDIuNDMwMyAxMyAyLjQ5N0wxMyAyLjVWMi41MDA0OVY1LjVDMTMgNS43NzYxNCAxMi43NzYxIDYgMTIuNSA2QzEyLjIyMzkgNiAxMiA1Ljc3NjE0IDEyIDUuNVYzLjcwNzExTDYuODUzNTUgOC44NTM1NUM2LjY1ODI5IDkuMDQ4ODIgNi4zNDE3MSA5LjA0ODgyIDYuMTQ2NDUgOC44NTM1NUM1Ljk1MTE4IDguNjU4MjkgNS45NTExOCA4LjM0MTcxIDYuMTQ2NDUgOC4xNDY0NUwxMS4yOTI5IDNIOS41QzkuMjIzODYgMyA5IDIuNzc2MTQgOSAyLjVDOSAyLjIyMzg2IDkuMjIzODYgMiA5LjUgMkgxMi40OTk5SDEyLjVDMTIuNTY3OCAyIDEyLjYzMjQgMi4wMTM0OSAxMi42OTE0IDIuMDM3OTRDMTIuNzUwNCAyLjA2MjM0IDEyLjgwNTYgMi4wOTg1MSAxMi44NTM2IDIuMTQ2NDVaJyBmaWxsPSdjdXJyZW50Q29sb3InIGZpbGwtcnVsZT0nZXZlbm9kZCcgY2xpcC1ydWxlPSdldmVub2RkJz48L3BhdGg+PC9zdmc+",
"license": "MIT",
"bugs": {
"url": "https://github.com/utags/links-helper/issues"
},
"homepage": "https://github.com/utags/links-helper#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.6",
"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.246",
"@types/node": "^20.6.2",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"bookmarkleter": "^1.1.0",
"esbuild": "^0.19.3",
"http-server": "^14.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"sass": "^1.67.0",
"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,
"capitalized-comments": 0
},
"overrides": [
{
"files": "src/messages/*.ts",
"rules": {
"@typescript-eslint/naming-convention": 0
}
}
]
}
}