diff --git a/package.json b/package.json index 4e0f9c0..24a0ed3 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": "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",