浏览代码

working start

master
peter 6 年前
父节点
当前提交
7221a25258
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      package.json

+ 5
- 5
package.json 查看文件

@@ -4,12 +4,12 @@
4 4
   "version": "1.0.0",
5 5
   "scripts": {
6 6
     "tsc": "tsc",
7
-    "start": "npm run build; node dist/FrontblockAdmin.js",
7
+    "start": "npm run build; node lib/Launcher.js",
8 8
     "build": "npm run clean; npm run build-backend; npm run build-frontend",
9
-    "build-backend": "tsc; npm run webpack",
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
-    "clean": "rm -rf lib static plugins conf dist/static widget .rpt2_cache *.js *.ts src/frontend/dist data",
9
+    "build-backend": "tsc;",
10
+    "build-frontend": "mkdir dist; mkdir dist/static; npm run build-dashboard;",
11
+    "build-dashboard": "cd src/frontend; npm i && npm run build; cp -r dist/* ../../dist/static",
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"
15 15
   },

正在加载...
取消
保存