This commit is contained in:
Daniel Huebleitner
2019-08-17 15:14:05 +02:00
parent e30664b2e2
commit c7741a77f7
+1 -1
View File
@@ -8,7 +8,7 @@
"build": "npm run clean; npm run build-backend; npm run build-frontend",
"build-backend": "tsc; webpack --display-error-details --config src/backend/webpack.prod.js --progress --colors; cp -r lib/PluginManager/* .",
"build-frontend": "npm run build-dashboard; npm run build-widget",
"build-dashboard": "cd src/frontend/dashboard; git submodule update --merge; npm run build; cp -r dist/dashboard ../../../static",
"build-dashboard": "git submodule update --merge; cd src/frontend/dashboard; npm run build; cp -r dist/dashboard ../../../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",
"update-frontblock": "rm -rf node_modules/frontblock*; npm install",