Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 4737ce0

Browse files
committed
Revert the two package.json thing because everything exploded
1 parent 87b63b4 commit 4737ce0

File tree

2 files changed

+37
-8
lines changed

2 files changed

+37
-8
lines changed

package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@
1313
],
1414
"main": "src/_boot.js",
1515
"scripts": {
16+
"start": "node_modules/.bin/electron src",
17+
"install-linux": "npm install && cd src && npm install && ./../node_modules/.bin/electron-rebuild -f -w node-pty && cd ..",
1618
"start": "node_modules/.bin/electron .",
1719
"install-linux": "npm install && ./node_modules/.bin/electron-rebuild -f -w node-pty",
18-
"preinstall-windows": "npm install --global --production windows-build-tools && npm install --global node-gyp && setx PYTHON \"%USERPROFILE%\\.windows-build-tools\\python27\\python.exe\"",
20+
"preinstall-windows": "npm install --global --production windows-build-tools && npm install --global node-gyp && setx PYTHON \"%USERPROFILE%\\.windows-build-tools\\python27\\python.exe\"",
21+
"install-windows": "npm install && cd src && npm install && ..\\node_modules\\.bin\\electron-rebuild -f -w node-pty && cd ..",
22+
"prebuild": "mkdir prebuild-src && cp -R src/* prebuild-src/ && node prebuild-minify.js && cd prebuild-src && npm install",
1923
"install-windows": "npm install && node_modules\\.bin\\electron-rebuild -f -w node-pty",
20-
"prebuild": "mkdir prebuild-src && cp -R src/* prebuild-src/ && cp package.json prebuild-src/ && node prebuild-minify.js",
24+
"prebuild": "mkdir prebuild-src && cp -R src/* prebuild-src/ && node prebuild-minify.js && npm install",
2125
"build": "./node_modules/.bin/electron-builder build -wl -p never",
2226
"postbuild": "rm -R prebuild-src"
2327
},
@@ -81,12 +85,6 @@
8185
"icon": "media/icon.ico"
8286
}
8387
},
84-
"dependencies": {
85-
"battery-level": "3.0.0",
86-
"node-pty": "0.7.1",
87-
"ws": "3.2.0",
88-
"xterm": "2.9.2"
89-
},
9088
"devDependencies": {
9189
"electron": "1.7.9",
9290
"electron-builder": "19.48.3",

src/package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "edex-ui",
3+
"productName": "eDEX-UI",
4+
"version": "0.1.0",
5+
"description": "A science fiction desktop running everywhere. Awesome.",
6+
"keywords": [
7+
"desktop",
8+
"sci-fi",
9+
"gui",
10+
"portable",
11+
"tty",
12+
"terminal"
13+
],
14+
"main": "_boot.js",
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/GitSquared/edex-ui.git"
18+
},
19+
"author": "GitSquared, Pixelylon",
20+
"license": "GPL-3.0",
21+
"bugs": {
22+
"url": "https://github.com/GitSquared/edex-ui/issues"
23+
},
24+
"homepage": "https://github.com/GitSquared/edex-ui#readme",
25+
"dependencies": {
26+
"battery-level": "3.0.0",
27+
"node-pty": "0.7.1",
28+
"ws": "3.2.0",
29+
"xterm": "2.9.2"
30+
}
31+
}

0 commit comments

Comments
 (0)