-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.07 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.07 KB
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
{
"name": "electro-xmoj",
"version": "1.1.0",
"description": "ELXMOJ Electron launcher with userscript updater",
"main": "src/main.js",
"homepage": "https://app.xmoj-bbs.me",
"repository": {
"type": "git",
"url": "https://github.com/XMOJ-Script-dev/ELXMOJ.git"
},
"author": "XMOJ-Script-dev",
"license": "GPL-3.0-or-later",
"scripts": {
"start": "electron .",
"self-check": "electron . --self-check",
"build": "npm run check",
"lint": "eslint src --ext .js",
"check:syntax": "node --check src/main.js && node --check src/preload.js && node --check src/settings.js && node --check src/storage.js && node --check src/updater.js",
"check": "npm run lint && npm run check:syntax",
"pack:win": "electron-builder --win nsis portable --publish never",
"pack:mac": "electron-builder --mac dmg zip --publish never",
"pack:linux": "electron-builder --linux AppImage tar.gz --publish never"
},
"devDependencies": {
"@eslint/js": "^9.23.0",
"electron": "^41.1.0",
"electron-builder": "^26.0.12",
"eslint": "^10.1.0",
"globals": "^17.4.0"
},
"build": {
"appId": "me.xmoj.elxmoj",
"productName": "ELXMOJ",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"build/icons/**/*",
"XMOJ-Script/XMOJ.user.js",
"package.json",
"README.md",
"LICENSE"
],
"asar": true,
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"win": {
"icon": "build/icons/app.ico",
"target": [
"nsis",
"portable"
]
},
"mac": {
"icon": "build/icons/app.png",
"target": [
"dmg",
"zip"
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"notarize": true,
"category": "public.app-category.developer-tools"
},
"linux": {
"icon": "build/icons/app.png",
"target": [
"AppImage",
"tar.gz"
],
"category": "Development"
}
}
}