diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 0c5eeefa64834f64faee7e71a5712be95c2bbddf..0000000000000000000000000000000000000000 --- a/LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) ByeMC - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/forge.config.js b/forge.config.js index bb56f476934c9ba23200600f828adc7f72cccc35..9f08ec2fc2405a53993d1f60b3d06f4c43f686d8 100644 --- a/forge.config.js +++ b/forge.config.js @@ -11,12 +11,12 @@ module.exports = { platforms: ['linux', 'win32'], }, { - "name": "@electron-forge/maker-deb", + name: "@electron-forge/maker-deb", "config": {} }, { - "name": "@electron-forge/maker-rpm", - "config": {} + name: "@electron-forge/maker-rpm", + config: {} } ], publishers: [ diff --git a/package.json b/package.json index 1209eeafa0c1564d5d4084273a737ec619c0c877..84313b1e88095ccb446a73f9cdea2ca630be1f45 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "author": "Bye <bye@byecorps.com>", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "electron-forge start", + "start": "live-server", "electron_start": "ELECTRON_ENABLE_LOGGING=1 electron .", "build": "webpack --config webpack.config.prod.js", "package": "electron-forge package", @@ -24,13 +24,8 @@ "@electron-forge/plugin-auto-unpack-natives": "^7.3.1", "@electron-forge/plugin-fuses": "^7.3.1", "@electron-forge/publisher-github": "^7.3.1", - "copy-webpack-plugin": "^11.0.0", "electron": "^29.1.1", - "html-webpack-plugin": "^5.5.3", - "webpack": "^5.88.2", - "webpack-cli": "^5.1.4", - "webpack-dev-server": "^4.15.1", - "webpack-merge": "^5.9.0" + "live-server": "^1.2.2" }, "dependencies": { "@fortawesome/fontawesome-free": "^6.5.1", diff --git a/webpack.common.js b/webpack.common.js deleted file mode 100644 index b502ea95903a22a5f758a55d54cab241211a3d34..0000000000000000000000000000000000000000 --- a/webpack.common.js +++ /dev/null @@ -1,12 +0,0 @@ -const path = require('path'); - -module.exports = { - entry: { - app: './js/app.js', - }, - output: { - path: path.resolve(__dirname, 'dist'), - clean: true, - filename: './js/app.js', - }, -}; diff --git a/webpack.config.dev.js b/webpack.config.dev.js deleted file mode 100644 index 5953807c9924f73481facbc5f300db5fb0912779..0000000000000000000000000000000000000000 --- a/webpack.config.dev.js +++ /dev/null @@ -1,13 +0,0 @@ -const { merge } = require('webpack-merge'); -const common = require('./webpack.common.js'); - -module.exports = merge(common, { - mode: 'development', - devtool: 'inline-source-map', - devServer: { - liveReload: true, - hot: true, - open: true, - static: ['./'], - }, -}); diff --git a/webpack.config.prod.js b/webpack.config.prod.js deleted file mode 100644 index 9cad3db7909ed09a192d409efd98641f5006e21c..0000000000000000000000000000000000000000 --- a/webpack.config.prod.js +++ /dev/null @@ -1,26 +0,0 @@ -const { merge } = require('webpack-merge'); -const common = require('./webpack.common.js'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); -const CopyPlugin = require('copy-webpack-plugin'); - -module.exports = merge(common, { - mode: 'production', - plugins: [ - new HtmlWebpackPlugin({ - template: './index.html', - }), - new CopyPlugin({ - patterns: [ - { from: 'img', to: 'img' }, - { from: 'css', to: 'css' }, - { from: 'js/vendor', to: 'js/vendor' }, - { from: 'assets', to: 'assets' }, - { from: 'icon.svg', to: 'icon.svg' }, - { from: 'favicon.ico', to: 'favicon.ico' }, - { from: 'robots.txt', to: 'robots.txt' }, - { from: '404.html', to: '404.html' }, - { from: 'manifest.json', to: 'manifest.json' }, - ], - }), - ], -});