From 1653315ee9d46b8ddbdc8d0ebe217d21b4f5bd68 Mon Sep 17 00:00:00 2001 From: Daniel Huebleitner Date: Sat, 17 Aug 2019 15:23:35 +0200 Subject: [PATCH] fix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 24a0ed3..873821b 100644 --- a/package.json +++ b/package.json @@ -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": "git submodule update --merge; cd src/frontend/dashboard; npm run build; cp -r dist/dashboard ../../../static", + "build-dashboard": "git submodule init && 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",