forked from utags/utags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.52 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
{
"name": "utags",
"displayName": "🏷️ UTags - Add usertags to links",
"displayName:zh-CN": "🏷️ 小鱼标签 (UTags) - 为链接添加用户标签",
"version": "0.1.6",
"description": "Allow users to add custom tags to links.",
"description:zh-CN": "此插件允许用户为网站的链接添加自定义标签。比如,可以给论坛的用户或帖子添加标签。",
"author": "Pipecraft",
"namespace": "https://utags.pipecraft.net/",
"icon": "https://utags.pipecraft.net/favicon.png",
"license": "MIT",
"bugs": {
"url": "https://github.com/utags/utags/issues"
},
"homepage": "https://github.com/utags/utags#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",
"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-storage": "^0.0.4",
"browser-extension-utils": "^0.0.13",
"plasmo": "^0.67.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@plasmohq/prettier-plugin-sort-imports": "^3.6.3",
"@types/chrome": "^0.0.227",
"@types/node": "^18.15.11",
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"bookmarkleter": "^1.1.0",
"esbuild": "^0.17.14",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"typescript": "^4.9.5",
"xo": "^0.53.1"
},
"manifest": {
"host_permissions": [
"https://*/*"
],
"permissions": [
"storage",
"tabs"
]
},
"xo": {
"space": 2,
"prettier": true,
"globals": [
"document"
],
"rules": {
"import/extensions": 0,
"import/order": 0,
"capitalized-comments": 0
}
}
}