|
|
@@ -7,8 +7,8 @@
|
|
7
|
7
|
"start": "npm run build; node dist/FrontblockAdmin.js",
|
|
8
|
8
|
"build": "npm run clean; npm run build-backend; npm run build-frontend",
|
|
9
|
9
|
"build-backend": "tsc; npm run webpack",
|
|
10
|
|
- "build-frontend": "npm run build-dashboard; cp ./dist/FrontblockLib.js ./dist/static",
|
|
11
|
|
- "build-dashboard": "git submodule init && git submodule update --merge; cd src/frontend; npm i && npm run build; mkdir ../../dist/static; cp -r dist/* ../../dist/static",
|
|
|
10
|
+ "build-frontend": "npm run build-dashboard; cp node_modules/rpclibrary/js/browser/rpclibrary.browser.js ./dist/static/FrontblockLib.js",
|
|
|
11
|
+ "build-dashboard": "cd src/frontend; npm i && npm run build; mkdir ../../dist/static; cp -r dist/* ../../dist/static",
|
|
12
|
12
|
"clean": "rm -rf lib static plugins conf dist widget .rpt2_cache *.js *.ts src/frontend/dist data",
|
|
13
|
13
|
"update-frontblock": "npm remove frontblock frontblock-generic; npm install frontblock-generic@latest frontblock@latest",
|
|
14
|
14
|
"webpack": "webpack --config src/backend/webpack.prod.js --progress --colors"
|
|
|
@@ -37,7 +37,7 @@
|
|
37
|
37
|
"node-fetch": "^2.6.0",
|
|
38
|
38
|
"path": "^0.12.7",
|
|
39
|
39
|
"rimraf": "^3.0.0",
|
|
40
|
|
- "rpclibrary": "^1.3.0",
|
|
|
40
|
+ "rpclibrary": "^1.3.2",
|
|
41
|
41
|
"simple-git": "^1.124.0",
|
|
42
|
42
|
"spawn-sync": "^2.0.0",
|
|
43
|
43
|
"sqlite3": "^4.1.0",
|