-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.17 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
{
"name": "typetree",
"homepage": "https://anlbrain.com/",
"author": "Lane Sun <[email protected]> (https://lanesun.neocities.org/)",
"version": "0.2.1",
"main": "src/main.js",
"build": {
"productName": "TypeTree",
"appId": "com.anlbrain.typetree",
"icon": "res/icons",
"linux": {
"category": "Utility",
"target": ["rpm", "deb"]
},
"win": {
"target": "nsis",
"icon": "res/icon.ico"
},
"fileAssociations": [
{
"ext": "typetree",
"name": "TypeTree File",
"role": "Editor",
"mimeType": "application/x-typetree"
},
{
"ext": "json",
"name": "JSON File",
"role": "Editor",
"mimeType": "application/json"
}
]
},
"scripts": {
"start": "electron .",
"start-en": "LANG=en_US.UTF-8 electron .",
"start-zh": "LANG=zh_CN.UTF-8 electron .",
"package-linux": "electron-builder --linux -p never",
"package-win": "electron-builder --win -p never",
"index": "cd src && find -name '*.plugin.js' > plugins.cfg"
},
"type": "module",
"devDependencies": {
"electron": "^31.1.0",
"electron-builder": "^24.13.3"
}
}