mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-31 09:22:49 -05:00
Get package and make working. Remove non-electron-forge scripts. App doesn't start yet.
This commit is contained in:
@@ -22,6 +22,10 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
{
|
{
|
||||||
name: '@electron-forge/plugin-webpack',
|
name: '@electron-forge/plugin-webpack',
|
||||||
|
devServer: {
|
||||||
|
stats: 'verbose'
|
||||||
|
},
|
||||||
|
devContentSecurityPolicy: 'default-src \'self\' \'unsafe-inline\' data:; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\' data:',
|
||||||
config: {
|
config: {
|
||||||
mainConfig: './webpack.main.config.js',
|
mainConfig: './webpack.main.config.js',
|
||||||
renderer: {
|
renderer: {
|
||||||
|
|||||||
15
package.json
15
package.json
@@ -2,21 +2,14 @@
|
|||||||
"name": "streamwall",
|
"name": "streamwall",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "View streams in a grid",
|
"description": "View streams in a grid",
|
||||||
"main": "./dist/main/main.js",
|
"main": "./.webpack/main",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:main": "webpack --config webpack.main.config.js",
|
|
||||||
"build:renderer": "webpack --config webpack.renderer.config.js",
|
|
||||||
"build:web": "webpack --config webpack.web.config.js",
|
|
||||||
"build": "npm run build:main & npm run build:renderer & npm run build:web",
|
|
||||||
"prune": "rm -rf dist",
|
|
||||||
"start": "electron-forge start",
|
"start": "electron-forge start",
|
||||||
"start-local": "npm run build -- --stats=errors-only && electron dist --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
|
"make": "electron-forge make",
|
||||||
"start-dev": "npm run build -- --stats=verbose && electron dist --enable-logging --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
|
|
||||||
"test": "jest",
|
|
||||||
"test:ci": "jest --ci --reporters=default --reporters=jest-junit --testPathIgnorePatterns=src/node/server.test.js --coverage",
|
|
||||||
"package": "electron-forge package",
|
"package": "electron-forge package",
|
||||||
"publish": "electron-forge publish",
|
"publish": "electron-forge publish",
|
||||||
"make": "electron-forge make"
|
"test": "jest",
|
||||||
|
"test:ci": "jest --ci --reporters=default --reporters=jest-junit --testPathIgnorePatterns=src/node/server.test.js --coverage"
|
||||||
},
|
},
|
||||||
"author": "Max Goodhart <c@chromakode.com>",
|
"author": "Max Goodhart <c@chromakode.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user