From 7221a252582672f1a4af84f3e4e95ef7399ce0d4 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 18 Nov 2019 15:15:27 +0100 Subject: [PATCH] working start --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 41bf202..c03f31b 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,12 @@ "version": "1.0.0", "scripts": { "tsc": "tsc", - "start": "npm run build; node dist/FrontblockAdmin.js", + "start": "npm run build; node lib/Launcher.js", "build": "npm run clean; npm run build-backend; npm run build-frontend", - "build-backend": "tsc; npm run webpack", - "build-frontend": "npm run build-dashboard; cp node_modules/rpclibrary/js/browser/rpclibrary.browser.js ./dist/static/FrontblockLib.js", - "build-dashboard": "cd src/frontend; npm i && npm run build; mkdir ../../dist/static; cp -r dist/* ../../dist/static", - "clean": "rm -rf lib static plugins conf dist/static widget .rpt2_cache *.js *.ts src/frontend/dist data", + "build-backend": "tsc;", + "build-frontend": "mkdir dist; mkdir dist/static; npm run build-dashboard;", + "build-dashboard": "cd src/frontend; npm i && npm run build; cp -r dist/* ../../dist/static", + "clean": "rm -rf lib static plugins conf dist widget .rpt2_cache *.js *.ts src/frontend/dist data", "update-frontblock": "npm remove frontblock frontblock-generic; npm install frontblock-generic@latest frontblock@latest", "webpack": "webpack --config src/backend/webpack.prod.js --progress --colors" },