This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
package.json
114 lines (114 loc) · 3.86 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "edex-ui",
"productName": "eDEX-UI",
"version": "2.2.8",
"description": "A science fiction desktop running everywhere. Awesome.",
"keywords": [
"desktop",
"sci-fi",
"gui",
"portable",
"tty",
"terminal"
],
"main": "src/_boot.js",
"scripts": {
"start": "electron src --nointro",
"install-linux": "npm install && cd src && npm install && ./../node_modules/.bin/electron-rebuild -f -w node-pty && cd ..",
"preinstall-windows": "npm install --global --production windows-build-tools && npm install --global node-gyp && setx PYTHON \"%USERPROFILE%\\.windows-build-tools\\python27\\python.exe\"",
"install-windows": "npm install && cd src && npm install && ..\\node_modules\\.bin\\electron-rebuild -f -w node-pty && cd ..",
"prebuild-linux": "rsync -a --info=progress2 src/ prebuild-src --exclude node_modules && node prebuild-minify.js && cd prebuild-src && npm install",
"prebuild-darwin": "rsync -a src/ prebuild-src --exclude node_modules && node prebuild-minify.js && cd prebuild-src && npm install",
"prebuild-windows": "mkdir prebuild-src && xcopy src\\* prebuild-src\\ /E /C /Q /Y && node prebuild-minify.js && cd prebuild-src && npm install",
"build-linux": "./node_modules/.bin/electron-builder build -l --x64 --ia32 --arm64 --armv7l",
"build-darwin": "./node_modules/.bin/electron-builder build -m",
"build-windows": "node_modules\\.bin\\electron-builder build -w",
"postbuild-linux": "rm -R prebuild-src",
"postbuild-darwin": "rm -R prebuild-src",
"postbuild-windows": "rmdir /S /Q prebuild-src",
"test": "rsync -a --info=progress2 src/ prebuild-src --exclude node_modules && node prebuild-minify.js && cd prebuild-src && npm install && snyk test && cd .. && rm -R prebuild-src",
"init-file-icons": "git submodule update --init",
"update-file-icons": "git submodule foreach git pull origin master && node file-icons-generator.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GitSquared/edex-ui.git"
},
"author": "Gabriel 'Squared' SAILLARD <[email protected]> (https://gaby.dev)",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/GitSquared/edex-ui/issues"
},
"homepage": "https://github.com/GitSquared/edex-ui#readme",
"build": {
"appId": "com.edex.ui",
"productName": "eDEX-UI",
"publish": "github",
"asar": true,
"compression": "normal",
"copyright": "Copyright © 2017-2021 Gabriel 'Squared' SAILLARD <[email protected]> (https://gaby.dev)",
"directories": {
"output": "dist",
"app": "prebuild-src"
},
"forceCodeSigning": false,
"npmRebuild": true,
"artifactName": "eDEX-UI-${os}-${arch}.${ext}",
"linux": {
"target": [
"AppImage"
],
"category": "System",
"icon": "media/linuxIcons"
},
"appImage": {
"artifactName": "eDEX-UI-Linux-${arch}.AppImage"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64"
]
}
],
"category": "public.app-category.utilities",
"icon": "media/icon.icns"
},
"dmg": {
"artifactName": "eDEX-UI-macOS-${arch}.dmg"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "media/icon.ico"
},
"nsis": {
"artifactName": "eDEX-UI-Windows-${arch}.exe",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true
}
},
"dependencies": {
"clean-css": "5.2.1",
"electron": "^12.1.0",
"electron-builder": "^22.14.5",
"electron-rebuild": "^2.3.5",
"mime-types": "^2.1.33",
"node-abi": "2.30.1",
"node-json-minify": "1.0.0",
"terser": "^5.9.0"
},
"optionalDependencies": {
"cson-parser": "4.0.9"
}
}