-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.47 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
{
"name": "hacker-news-apps-switcher",
"displayName": "Hacker News Apps Switcher",
"displayName:zh-CN": "Hacker News 网站切换器",
"version": "0.0.1",
"description": "try to take over the world!",
"description:zh-CN": "掌控一切!",
"author": "Pipecraft",
"license": "MIT",
"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 src/userscript/watch.mjs",
"build": "run-s build:*",
"build:chrome": "plasmo build",
"build:firefox": "plasmo build --target=firefox-mv2",
"build:userscript": "node src/userscript/build.mjs && pnpm run p",
"package": "run-s package:*",
"package:chrome": "plasmo package",
"package:firefox": "plasmo package --target=firefox-mv2"
},
"dependencies": {
"@plasmohq/storage": "^1.2.2",
"plasmo": "0.66.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@plasmohq/prettier-plugin-sort-imports": "3.6.3",
"@types/chrome": "0.0.219",
"@types/node": "18.14.6",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"esbuild": "^0.17.11",
"fs-extra": "^11.1.0",
"npm-run-all": "^4.1.5",
"prettier": "2.8.4",
"typescript": "4.9.5",
"xo": "^0.53.1"
},
"manifest": {
"host_permissions": [
"https://*/*"
],
"permissions": [
"tabs"
]
},
"xo": {
"space": 2,
"prettier": true,
"globals": [
"document",
"GM_getValue",
"GM_setValue",
"GM_addValueChangeListener"
],
"rules": {
"import/extensions": 0,
"import/order": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/no-useless-empty-export": 0,
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/prefer-optional-chain": 0,
"@typescript-eslint/restrict-plus-operands": 0,
"n/prefer-global/process": 0,
"unicorn/no-empty-file": 0,
"camelcase": 0,
"new-cap": 0,
"no-global-assign": 0,
"no-warning-comments": 0,
"capitalized-comments": 0
},
"overrides": [
{
"files": "test/*.js",
"envs": [
"node",
"mocha"
]
}
]
}
}