working start
This commit is contained in:
+5
-5
@@ -4,12 +4,12 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"start": "npm run build; node dist/FrontblockAdmin.js",
|
"start": "npm run build; node lib/Launcher.js",
|
||||||
"build": "npm run clean; npm run build-backend; npm run build-frontend",
|
"build": "npm run clean; npm run build-backend; npm run build-frontend",
|
||||||
"build-backend": "tsc; npm run webpack",
|
"build-backend": "tsc;",
|
||||||
"build-frontend": "npm run build-dashboard; cp node_modules/rpclibrary/js/browser/rpclibrary.browser.js ./dist/static/FrontblockLib.js",
|
"build-frontend": "mkdir dist; mkdir dist/static; npm run build-dashboard;",
|
||||||
"build-dashboard": "cd src/frontend; npm i && npm run build; mkdir ../../dist/static; cp -r dist/* ../../dist/static",
|
"build-dashboard": "cd src/frontend; npm i && npm run build; cp -r dist/* ../../dist/static",
|
||||||
"clean": "rm -rf lib static plugins conf dist/static widget .rpt2_cache *.js *.ts src/frontend/dist data",
|
"clean": "rm -rf lib static plugins conf dist widget .rpt2_cache *.js *.ts src/frontend/dist data",
|
||||||
"update-frontblock": "npm remove frontblock frontblock-generic; npm install frontblock-generic@latest frontblock@latest",
|
"update-frontblock": "npm remove frontblock frontblock-generic; npm install frontblock-generic@latest frontblock@latest",
|
||||||
"webpack": "webpack --config src/backend/webpack.prod.js --progress --colors"
|
"webpack": "webpack --config src/backend/webpack.prod.js --progress --colors"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user