forked from MoeFE/GoogleTranslate
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
92 lines (92 loc) · 2.66 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
92
{
"name": "google-translate",
"version": "4.1.35",
"description": "google translate, work in any app",
"main": "./dist/index.js",
"scripts": {
"lint": "tsc --noEmit && eslint --ext .ts --fix src/",
"test": "jest",
"clean": "rimraf ./dist",
"watch": "pnpm run clean && pnpm run build:bridge && cross-env NODE_ENV=development webpack --watch",
"start": "nodemon --watch dist --exec \"electron ./dist --inspect\"",
"install": "electron-rebuild",
"build:bridge": "cargo build --release --manifest-path src/bridge/Cargo.toml",
"build": "pnpm run clean && pnpm run lint && cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack && pnpm run build:bridge",
"release": "npx release patch"
},
"keywords": [
"google",
"translate",
"electron"
],
"author": "mt",
"license": "ISC",
"dependencies": {
"@electron/remote": "^2.1.2",
"@mantou/gem": "^0.2.18",
"auto-launch": "^5.0.5",
"electron-updater": "^4.3.5",
"internet-available": "^1.0.0",
"lodash": "^4.17.15",
"node-ipc": "^9.1.1",
"regedit": "^3.0.3",
"robotjs": "^0.6.0"
},
"devDependencies": {
"@types/auto-launch": "^5.0.1",
"@types/html-webpack-plugin": "^3.2.1",
"@types/jest": "^28.1.8",
"@types/lodash": "^4.14.146",
"@types/mkdirp": "^0.5.2",
"@types/node": "^12.12.6",
"@types/node-fetch": "^2.5.3",
"@types/node-ipc": "^9.1.2",
"@types/webpack": "^4.39.8",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"cross-env": "^6.0.3",
"electron": "^31.1.0",
"electron-builder": "^24.13.3",
"electron-rebuild": "^3.2.9",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"file-loader": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^2.7.0",
"jest": "^28.1.3",
"lint-staged": "^8.2.1",
"mkdirp": "^0.5.1",
"native-ext-loader": "^2.3.0",
"nodemon": "^1.19.4",
"prettier": "^1.19.0",
"puppeteer": "^22.12.1",
"rimraf": "^3.0.0",
"ts-jest": "^28.0.8",
"ts-loader": "^8.2.0",
"ts-node": "^10.8.1",
"typescript": "^4.7.4",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/mantou132/GoogleTranslate.git"
},
"bugs": {
"url": "https://github.com/mantou132/GoogleTranslate/issues"
},
"homepage": "https://github.com/mantou132/GoogleTranslate#readme"
}