forked from GitSquared/edex-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.91 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
115
116
117
{
"name": "edex-ui",
"productName": "eDEX-UI",
"version": "3.0.0-pre",
"description": "A science fiction desktop running everywhere. Awesome.",
"keywords": [
"desktop",
"sci-fi",
"gui",
"portable",
"tty",
"terminal"
],
"main": "src/_boot.js",
"scripts": {
"start": "node_modules/.bin/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": "rmdir /S /Q src\\node_modules && 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 -p never",
"build-darwin": "./node_modules/.bin/electron-builder build -m -p never",
"build-windows": "node_modules\\.bin\\electron-builder build -w -p never",
"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",
"asar": true,
"compression": "maximum",
"copyright": "Copyright © 2017-2019 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": [
{
"target": "AppImage",
"arch": [
"x64",
"ia32"
]
}
],
"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 Image.dmg"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "media/icon.ico"
},
"nsis": {
"artifactName": "eDEX-UI Windows Installer.exe",
"oneClick": true,
"deleteAppDataOnUninstall": true
}
},
"dependencies": {
"clean-css": "4.2.1",
"electron": "6.0.11",
"electron-builder": "^21.2.0",
"electron-rebuild": "1.8.6",
"node-abi": "2.11.0",
"node-json-minify": "1.0.0",
"uglify-es": "3.3.9"
},
"optionalDependencies": {
"cson-parser": "4.0.2"
}
}