This commit is contained in:
peter
2019-08-19 17:05:24 +02:00
parent 43a48d8ad7
commit 5c389f5d18
6 changed files with 6 additions and 66 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
"version": "1.0.0",
"scripts": {
"tsc": "tsc",
"start": "npm run build; node lib/FrontblockAdmin.js",
"start": "npm run build; node dist/FrontblockAdmin.js",
"build": "npm run clean; npm run build-backend; npm run webpack",
"build-backend": "tsc; webpack --display-error-details --config src/backend/webpack.prod.js --progress --colors;",
"build-frontend": "npm run build-dashboard",
@@ -12,7 +12,7 @@
"build-widget": "rollup -c src/frontend/widget/rollup.config.js; mkdir -p plugins/PluginManager; cp FrontendPlugin.js plugins/PluginManager",
"clean": "rm -rf lib static plugins data conf dist widget .rpt2_cache *.js *.ts src/frontend/dashboard/dist",
"update-frontblock": "rm -rf node_modules/frontblock*; npm install",
"webpack": "webpack --mode production --entry ./lib/FrontblockLib.js --output ./lib/FrontblockLib.js"
"webpack": "webpack --mode production --entry ./dist/FrontblockLib.js --output ./dist/FrontblockLib.js"
},
"repository": {
"type": "git",