forked from EhTagTranslation/EhSyringe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 3.26 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
{
"name": "ehsyringe",
"displayName": "EhSyringe",
"version": "3.0.14",
"description": "E 站注射器,将中文翻译注入到 E 站体内。",
"author": "EhTagTranslation",
"repository": {
"type": "git",
"url": "git+https://github.com/EhTagTranslation/EhSyringe.git"
},
"engines": {
"node": "^20.17.0 || ^22.11.0"
},
"packageManager": "[email protected]",
"license": "MIT",
"bugs": "https://github.com/EhTagTranslation/EhSyringe/issues",
"homepage": "https://github.com/EhTagTranslation/EhSyringe",
"type": "module",
"scripts": {
"start:monkey": "webpack serve --mode=development --env type=user-script",
"start:ext": "webpack --mode=development --watch --env type=web-ext",
"start:chrome": "pnpm run start:ext --env vendor=chrome",
"start:firefox": "pnpm run start:ext --env vendor=firefox",
"build": "webpack --mode=production",
"build:monkey": "pnpm run build --env type=user-script",
"build:ext": "pnpm run build --env type=web-ext",
"build:chrome": "pnpm run build:ext --env vendor=chrome && web-ext build -s dist -a releases -n ehsyringe.chrome.zip -o",
"build:firefox": "pnpm run build:ext --env vendor=firefox && web-ext build -s dist -a releases -n ehsyringe.firefox.xpi -o",
"lint": "eslint",
"format": "prettier --ignore-path .gitignore --write .",
"clean": "rimraf dist releases"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/runtime-corejs3": "^7.26.0",
"@eslint/js": "^9.14.0",
"@types/chrome": "^0.0.280",
"@types/escape-html": "^1.0.4",
"@types/node": "^22.8.6",
"@types/tampermonkey": "^5.0.3",
"@types/webextension-polyfill": "^0.12.1",
"@webextension-toolbox/webpack-webextension-plugin": "^3.3.1",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"cssnano": "^7.0.6",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"execa": "^9.5.1",
"glob": "^11.0.0",
"html-webpack-plugin": "^5.6.3",
"less": "^4.2.0",
"less-loader": "^12.2.0",
"postcss": "^8.4.47",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^10.0.9",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"semver": "^7.6.3",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"type-fest": "^4.26.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.2",
"web-ext": "^8.3.0",
"webpack": "^5.96.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-userscript": "^2.5.8"
},
"dependencies": {
"core-js": "^3.39.0",
"emoji-regex": "^10.4.0",
"escape-html": "^1.0.3",
"idb-keyval": "^6.2.1",
"lit-html": "^3.2.1",
"rxjs": "^7.8.1",
"tslib": "^2.8.1",
"typedi": "^0.10.0",
"webextension-polyfill": "^0.12.0"
}
}