fix null apiclient and add plugin config in admin

This commit is contained in:
peter
2019-08-26 17:14:33 +02:00
parent 87478689c8
commit a18d28accc
4 changed files with 861 additions and 324 deletions
+4 -4
View File
@@ -4,13 +4,13 @@
"version": "1.0.0",
"scripts": {
"tsc": "tsc",
"start": "npm run build; node dist/FrontblockAdmin.js",
"start": "npm run build; node lib/FrontblockAdmin.js",
"build": "npm run clean; npm run build-backend",
"build-backend": "tsc; npm run webpack",
"build-frontend": "npm run build-dashboard",
"build-dashboard": "git submodule init && git submodule update --merge; cd src/frontend/dashboard; npm i && npm run build; cp -r dist/* ../../../static",
"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",
"clean": "rm -rf lib static plugins conf dist widget .rpt2_cache *.js *.ts src/frontend/dashboard/dist",
"update-frontblock": "rm -rf node_modules/frontblock*; npm install",
"webpack": "webpack --config src/backend/webpack.prod.js --progress --colors"
},
@@ -25,8 +25,8 @@
"bsock": "^0.1.9",
"child-process-promise": "^2.2.1",
"express": "^4.16.4",
"frontblock": "^0.9.9",
"frontblock-generic": "^0.28.4",
"frontblock": "^0.14.0",
"frontblock-generic": "^0.29.0",
"git-cherrypicker": "0.0.3",
"git-describe": "^4.0.4",
"http": "0.0.0",