mirror of
https://github.com/zoriya/EAU.git
synced 2025-12-06 06:36:13 +00:00
Adding a compiler for the app.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
node_modules
|
node_modules
|
||||||
back-end/secrets.php
|
build
|
||||||
14
.vscode/tasks.json
vendored
14
.vscode/tasks.json
vendored
@@ -31,6 +31,20 @@
|
|||||||
"command": "npx webpack --watch",
|
"command": "npx webpack --watch",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build app",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "npm run build",
|
||||||
|
"group": "build",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Start app",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "npm start",
|
||||||
|
"group": "build",
|
||||||
|
"problemMatcher": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -8,6 +8,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"liveServer.settings.multiRootWorkspaceName": "GitRepository"
|
"liveServer.settings.multiRootWorkspaceName": "EAU-Backend"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
2
main.js
2
main.js
@@ -19,7 +19,7 @@ app.on("ready", () =>
|
|||||||
{
|
{
|
||||||
createWindow();
|
createWindow();
|
||||||
|
|
||||||
protocol.registerFileProtocol("eau", (request, callback) =>
|
protocol.registerHttpProtocol("eau", (request, callback) =>
|
||||||
{
|
{
|
||||||
console.log(request.url);
|
console.log(request.url);
|
||||||
console.log("callback: " + callback.name);
|
console.log("callback: " + callback.name);
|
||||||
|
|||||||
8556
package-lock.json
generated
8556
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
@@ -6,16 +6,25 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/jquery": "^3.3.29",
|
"@types/jquery": "^3.3.29",
|
||||||
"bootstrap": "^4.3.1",
|
"bootstrap": "^4.3.1",
|
||||||
"electron": "^4.1.1",
|
|
||||||
"fs": "0.0.1-security",
|
"fs": "0.0.1-security",
|
||||||
"gulp": "^4.0.0",
|
|
||||||
"gulp-sass": "^4.0.2",
|
|
||||||
"jquery": "^3.3.1",
|
"jquery": "^3.3.1",
|
||||||
"npm": "^6.9.0",
|
|
||||||
"popper.js": "^1.14.7"
|
"popper.js": "^1.14.7"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"electron": "^4.1.1",
|
||||||
|
"electron-builder": "^20.39.0",
|
||||||
|
"electron-builder-squirrel-windows": "^20.39.0",
|
||||||
|
"gulp": "^4.0.0",
|
||||||
|
"gulp-sass": "^4.0.2",
|
||||||
|
"ts-loader": "^5.3.3",
|
||||||
|
"typescript": "^3.3.4000",
|
||||||
|
"webpack": "^4.29.6",
|
||||||
|
"webpack-cli": "^3.3.0",
|
||||||
|
"npm": "^6.9.0"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron ."
|
"start": "electron .",
|
||||||
|
"build": "build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -27,11 +36,14 @@
|
|||||||
"url": "https://github.com/AnonymusRaccoon/EAU/issues"
|
"url": "https://github.com/AnonymusRaccoon/EAU/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/AnonymusRaccoon/EAU#readme",
|
"homepage": "https://github.com/AnonymusRaccoon/EAU#readme",
|
||||||
"devDependencies": {
|
"build": {
|
||||||
"ts-loader": "^5.3.3",
|
"appId": "com.sdg.eau",
|
||||||
"typescript": "^3.3.4000",
|
"directories": {
|
||||||
"uglifyjs-webpack-plugin": "^2.1.2",
|
"output": "build"
|
||||||
"webpack": "^4.29.6",
|
},
|
||||||
"webpack-cli": "^3.3.0"
|
"win": {
|
||||||
|
"target": "squirrel",
|
||||||
|
"icon": "app.ico"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
.game-head {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
/*# sourceMappingURL=game.css.map */
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 3,
|
|
||||||
"mappings": "AAAA,AAAA,UAAU,CACV;EACI,KAAK,EAAE,IAAI;CACd",
|
|
||||||
"sources": [
|
|
||||||
"game.scss"
|
|
||||||
],
|
|
||||||
"names": [],
|
|
||||||
"file": "game.css"
|
|
||||||
}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
.grid {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-ms-flex-wrap: wrap;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
-webkit-box-pack: center;
|
|
||||||
-ms-flex-pack: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.game {
|
|
||||||
display: block;
|
|
||||||
margin: 0.5rem;
|
|
||||||
width: 30%;
|
|
||||||
-webkit-transition: all .2s ease-in-out;
|
|
||||||
transition: all .2s ease-in-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
|
||||||
.game {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
|
||||||
.game {
|
|
||||||
width: 20%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1200px) {
|
|
||||||
.game {
|
|
||||||
width: 18%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.game:hover {
|
|
||||||
-webkit-transform: scale(1.2);
|
|
||||||
transform: scale(1.2);
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.game > img {
|
|
||||||
display: block;
|
|
||||||
max-width: 100%;
|
|
||||||
max-height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.game > p {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
/*# sourceMappingURL=library.css.map */
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 3,
|
|
||||||
"mappings": "AAIA,AAAA,KAAK,CACL;EACE,OAAO,EAAE,IAAI;EACb,SAAS,EAAE,IAAI;EAEf,eAAe,EAAE,MAAM;CACxB;;AAED,AAAA,KAAK,CACL;EACE,OAAO,EAAE,KAAK;EACd,MAAM,EAAE,MAAM;EACd,KAAK,EAAE,GAAG;EACV,UAAU,EAAE,mBAAmB;CA+BhC;;AGYG,MAAM,EAAE,SAAS,EAAE,KAAK;EHhD5B,AAAA,KAAK,CACL;IAQI,KAAK,EAAE,GAAG;GA2Bb;;;AGYG,MAAM,EAAE,SAAS,EAAE,KAAK;EHhD5B,AAAA,KAAK,CACL;IAYI,KAAK,EAAE,GAAG;GAuBb;;;AGYG,MAAM,EAAE,SAAS,EAAE,MAAM;EHhD7B,AAAA,KAAK,CACL;IAgBI,KAAK,EAAE,GAAG;GAmBb;;;AApCD,AAoBE,KApBG,AAoBF,MAAM,CACP;EACE,SAAS,EAAE,UAAU;EACrB,MAAM,EAAE,OAAO;CAChB;;AAxBH,AA0BE,KA1BG,GA0BD,GAAG,CACL;EACE,OAAO,EAAE,KAAK;EACd,SAAS,EAAC,IAAI;EACd,UAAU,EAAC,IAAI;CAChB;;AA/BH,AAgCE,KAhCG,GAgCD,CAAC,CACH;EACE,UAAU,EAAE,MAAM;CACnB",
|
|
||||||
"sources": [
|
|
||||||
"library.scss",
|
|
||||||
"../../../node_modules/bootstrap/scss/_functions.scss",
|
|
||||||
"../../../node_modules/bootstrap/scss/_variables.scss",
|
|
||||||
"../../../node_modules/bootstrap/scss/mixins/_breakpoints.scss"
|
|
||||||
],
|
|
||||||
"names": [],
|
|
||||||
"file": "library.css"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user