-
Notifications
You must be signed in to change notification settings - Fork 348
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.02 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.02 KB
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
94
95
96
97
98
99
100
101
{
"name": "header-editor",
"version": "5.1.0",
"description": "Header Editor",
"author": "ShuangYa",
"license": "GPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/FirefoxBar/HeaderEditor.git"
},
"scripts": {
"start": "cross-env TARGET_BROWSER=firefox_v2 rsbuild dev",
"build": "npm run build:firefox_v3",
"build:firefox_v2": "cross-env TARGET_BROWSER=firefox_v2 rsbuild build",
"build:firefox_v3": "cross-env TARGET_BROWSER=firefox_v3 rsbuild build",
"build:chrome_v2": "cross-env TARGET_BROWSER=chrome_v2 rsbuild build",
"build:chrome_v3": "cross-env TARGET_BROWSER=chrome_v3 rsbuild build",
"check": "biome check --write",
"format": "biome format --write",
"release": "node ./scripts/release.mjs",
"pack": "node ./scripts/pack.mjs",
"run-test-server": "php -S 0.0.0.0:8899 -t tests/simple-server",
"test:e2e": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx mocha --config ./tests/e2e/.mocharc.json"
},
"dependencies": {
"@codemirror/lang-javascript": "^6.1.4",
"@douyinfe/semi-icons": "^2.83.0",
"@douyinfe/semi-ui": "^2.83.0",
"@emotion/css": "^11.10.6",
"@uiw/codemirror-theme-github": "^4.19.9",
"@uiw/react-codemirror": "^4.19.9",
"ahooks": "^3.7.5",
"dayjs": "^1.9.5",
"eventemitter3": "^4.0.0",
"fast-deep-equal": "^2.0.1",
"lodash-es": "^4.17.21",
"query-string": "^8.1.0",
"re2js": "^1.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@biomejs/biome": "^2.1.2",
"@modern-js/tsconfig": "^2.68.5",
"@plasmohq/chrome-webstore-api": "^2.11.0",
"@plasmohq/edge-addons-api": "^2.0.0",
"@rsbuild/core": "^1.4.11",
"@rsbuild/plugin-react": "^1.3.4",
"@swc/plugin-emotion": "^11.0.0",
"@types/chrome": "^0.1.4",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.15.5",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@types/webextension-polyfill": "^0.12.3",
"amo-upload": "^1.0.0",
"axios": "^1.7.2",
"cpr": "^3.0.1",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"get-port": "^7.1.0",
"lint-staged": "^13.2.2",
"lodash": "^4.17.21",
"mocha": "^11.7.1",
"prettier": "^3.3.2",
"puppeteer": "^24.15.0",
"resolve": "^1.22.10",
"rimraf": "^6.0.1",
"sign-addon": "^6.4.0",
"simple-git-hooks": "^2.13.0",
"typescript": "^5.7.3",
"web-ext": "^8.6.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [
"biome check --write --files-ignore-unknown=true"
]
},
"engines": {
"node": ">=20",
"pnpm": ">=10"
},
"pnpm": {
"patchedDependencies": {
"lodash-es": "patches/lodash-es.patch",
"lodash": "patches/lodash.patch"
},
"ignoredBuiltDependencies": [
"core-js"
],
"onlyBuiltDependencies": [
"puppeteer",
"simple-git-hooks",
"spawn-sync"
]
}
}