This commit is contained in:
peter
2019-08-18 05:01:32 +02:00
parent e71555af1a
commit b33f900806
6 changed files with 132 additions and 20 deletions
+5 -3
View File
@@ -6,9 +6,9 @@
"tsc": "tsc",
"start": "npm run build; node lib/FrontblockAdmin.js",
"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 init && git submodule update --merge; cd src/frontend/dashboard; npm i && npm run build; cp -r dist/dashboard ../../../static",
"build-backend": "tsc; webpack --display-error-details --config src/backend/webpack.prod.js --progress --colors;",
"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",
"update-frontblock": "rm -rf node_modules/frontblock*; npm install",
@@ -41,6 +41,7 @@
"express": "^4.16.4",
"frontblock": "^0.9.9",
"frontblock-generic": "latest",
"git-cherrypicker": "0.0.3",
"hdkey": "^1.1.1",
"http": "0.0.0",
"key-file-storage": "^2.2.4",
@@ -48,6 +49,7 @@
"memfs": "^2.15.5",
"minimist": "^1.2.0",
"node-fetch": "^2.6.0",
"path": "^0.12.7",
"rollup": "^0.55.1",
"rollup-plugin-node-externals": "^2.0.0",
"rxjs": "^6.5.2",