fix build

This commit is contained in:
peter
2019-08-19 17:08:24 +02:00
parent 5c389f5d18
commit 288a196e73
+2 -2
View File
@@ -5,8 +5,8 @@
"scripts": {
"tsc": "tsc",
"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": "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",