-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.13 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
93
94
{
"name": "text-translator",
"version": "1.0.2",
"description": "NLLB-200 text translator.",
"main": "main.js",
"type": "module",
"scripts": {
"start": "electron .",
"build:osx": "electron-builder --mac",
"build:mac": "electron-builder --mac",
"build:win": "electron-builder --win --x64",
"build:win32": "electron-builder --win --ia32",
"build:win64": "electron-builder --win --x64",
"build:linux": "electron-builder --linux"
},
"build": {
"productName": "",
"appId": "com.shinich39.texttranslator",
"artifactName": "${productName}-${version}.${ext}",
"copyright": "Copyright © year ${author}",
"asar": false,
"removePackageScripts": true,
"protocols": {
"name": "Text Translator",
"schemes": [
"texttranslator"
]
},
"directories": {
"output": "./dist/"
},
"files": [
"**/*"
],
"extraFiles": [],
"extraResources": [],
"mac": {
"target": [
"zip",
"dmg"
],
"icon": "./icons/512x512.png"
},
"dmg": {
"icon": "./icons/512x512.png"
},
"win": {
"target": [
"zip",
"nsis",
"portable"
],
"icon": "./icons/256x256.ico"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"installerIcon": "./icons/256x256.ico"
},
"linux": {
"desktop": {
"StartupNotify": "false",
"Encoding": "UTF-8",
"MimeType": "x-scheme-handler/texttranslator"
},
"target": [
"AppImage",
"rpm",
"deb"
],
"icon": "./icons/256x256.png"
}
},
"keywords": [
"electron"
],
"author": "shinich39 <shinich39@gmail.com>",
"license": "MIT",
"devDependencies": {
"electron": "^28.1.3",
"electron-builder": "^24.6.4"
},
"dependencies": {
"bootstrap": "^5.3.3",
"cheerio": "^1.0.0-rc.12",
"detect-file-encoding-and-language": "^2.4.0",
"franc": "^6.2.0",
"iconv-lite": "^0.6.3",
"puppeteer": "^22.9.0"
}
}