forked from EhTagTranslation/EhSyringe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 3.18 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
{
"name": "ehsyringe",
"displayName": "EhSyringe",
"version": "2.9.6",
"description": "E 站注射器,将中文翻译注入到 E 站体内。",
"author": "EhTagTranslation",
"repository": {
"type": "git",
"url": "git+https://github.com/EhTagTranslation/EhSyringe.git"
},
"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": "yarn start:ext --env vendor=chrome",
"start:firefox": "yarn start:ext --env vendor=firefox",
"build": "webpack --mode=production",
"build:monkey": "yarn build --env type=user-script",
"build:ext": "yarn build --env type=web-ext",
"build:chrome": "yarn build:ext --env vendor=chrome && web-ext build -s dist -a releases -n ehsyringe.chrome.zip -o",
"build:firefox": "yarn build:ext --env vendor=firefox && web-ext build -s dist -a releases -n ehsyringe.firefox.xpi -o",
"lint": "eslint ./src/**/*.ts",
"format": "prettier --ignore-path .gitignore --write .",
"clean": "rimraf dist releases"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@types/chrome": "^0.0.212",
"@types/escape-html": "^1.0.2",
"@types/node": "^18.13.0",
"@types/tampermonkey": "^4.0.10",
"@types/webextension-polyfill": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"@webextension-toolbox/webpack-webextension-plugin": "^2.1.3",
"babel-loader": "^9.1.2",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"cssnano": "^5.1.14",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"execa": "^7.0.0",
"html-webpack-plugin": "^5.5.0",
"less": "^4.1.3",
"less-loader": "^11.1.0",
"postcss": "^8.4.21",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.0.2",
"postcss-preset-env": "^8.0.1",
"prettier": "^2.8.4",
"rimraf": "^4.1.2",
"semver": "^7.3.8",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.2",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"type-fest": "^3.5.7",
"typescript": "^4.9.5",
"web-ext": "^7.5.0",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1",
"webpack-userscript": "^2.5.8",
"yargs": "^17.6.2"
},
"dependencies": {
"core-js": "^3.27.2",
"emoji-regex": "^10.2.1",
"escape-html": "^1.0.3",
"idb-keyval": "^6.2.0",
"lit-html": "^2.6.1",
"rxjs": "^7.8.0",
"tslib": "^2.5.0",
"typedi": "^0.10.0",
"webextension-polyfill": "^0.10.0"
}
}