Fix build issues with main. Continue on build issues for renderer. Add missing dependencies, update webpack configs

This commit is contained in:
sayhiben
2024-08-20 11:38:12 -07:00
parent 2a6a926f6e
commit 16166990ed
7 changed files with 633 additions and 39 deletions

View File

@@ -2,7 +2,7 @@
"name": "streamwall",
"version": "1.0.0",
"description": "View streams in a grid",
"main": "./node/main.js",
"main": "./dist/main/main.js",
"scripts": {
"build:main": "webpack --config webpack.main.config.js",
"build:renderer": "webpack --config webpack.renderer.config.js",
@@ -22,6 +22,7 @@
"dependencies": {
"@electron-forge/plugin-webpack": "^7.4.0",
"@iarna/toml": "^2.2.5",
"@ladjs/koa-views": "^9.0.0",
"@repeaterjs/repeater": "^3.0.6",
"@sentry/electron": "^5.3.0",
"base-x": "^5.0.0",
@@ -30,15 +31,14 @@
"dank-twitch-irc": "^4.3.0",
"ejs": "^3.1.10",
"electron": "^31.3.1",
"electron-squirrel-startup": "^1.0.1",
"hls.js": "^1.5.14",
"jsondiffpatch": "^0.6.0",
"koa": "^2.15.3",
"electron-squirrel-startup": "^1.0.1",
"koa-basic-auth": "^4.0.0",
"koa-easy-ws": "^2.1.0",
"koa-route": "^4.0.1",
"koa-static": "^5.0.0",
"koa-views": "^8.1.0",
"lodash": "^4.17.21",
"luxon": "^3.5.0",
"node-fetch": "^3.3.2",
@@ -56,36 +56,44 @@
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-react-jsx": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@svgr/webpack": "^8.1.0",
"@electron-forge/cli": "^7.4.0",
"@electron-forge/maker-deb": "^7.4.0",
"@electron-forge/maker-rpm": "^7.4.0",
"@electron-forge/maker-squirrel": "^7.4.0",
"@electron-forge/maker-zip": "^7.4.0",
"@svgr/webpack": "^8.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-styled-components": "^2.1.4",
"bufferutil": "^4.0.8",
"copy-webpack-plugin": "^12.0.2",
"crypto-browserify": "^3.12.0",
"css-loader": "^7.1.2",
"electron": "^31.4.0",
"file-loader": "^6.2.0",
"https-browserify": "^1.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"npm-check-updates": "^17.0.6",
"path-browserify": "^1.0.1",
"prettier": "3.3.3",
"stream-http": "^3.2.0",
"style-loader": "^4.0.0",
"supertest": "^7.0.0",
"url": "^0.11.4",
"utf-8-validate": "^6.0.4",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"browserslist": [
"electron 31.3"