new command: npm run dist (run npm install first)

NOT CURRENTLY PRODUCTING A WORKING BUILD
This commit is contained in:
Tim Greiser
2020-06-22 23:10:04 -07:00
parent 7e71567772
commit ef33220b1c
2 changed files with 466 additions and 4 deletions

View File

@@ -2,9 +2,10 @@
"name": "streamwall",
"version": "0.0.1",
"description": "View streams in a grid",
"main": "src/index.js",
"main": "src/node/index.js",
"scripts": {
"build": "webpack",
"dist": "npm run build -- --display=errors-only && electron-packager ./dist streamwall --overwrite",
"start": "npm run build -- --display=errors-only && electron dist",
"start-local": "npm run build -- --display=errors-only && electron dist --webserver=http://localhost:4444 --username=woke --password=woke",
"test": "jest"
@@ -14,7 +15,6 @@
"dependencies": {
"csvtojson": "^2.0.10",
"ejs": "^3.1.3",
"electron": "^9.0.4",
"google-spreadsheet": "^3.0.11",
"koa": "^2.12.1",
"koa-basic-auth": "^4.0.0",
@@ -44,6 +44,8 @@
"babel-plugin-styled-components": "^1.10.7",
"copy-webpack-plugin": "^6.0.2",
"css-loader": "^3.6.0",
"electron": "^9.0.4",
"electron-packager": "^14.2.1",
"file-loader": "^6.0.0",
"jest": "^26.0.1",
"prettier": "2.0.5",