From 73976377c41f14b7f70e1c45cb456d4943aa2835 Mon Sep 17 00:00:00 2001 From: SunWuyuan <1847261658@qq.com> Date: Fri, 26 Jul 2024 11:16:06 +0800 Subject: [PATCH] 1 --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c0f13a5..c33c08d 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { - "name": "ZeroCatNext", + "name": "zerocatnext", "version": "0.0.0", "scripts": { "dev": "vite --port 3003 --host", "build": "vite build", - "build-scratch-gui": "cd scratch-gui && npm install && webpack --colors --bail && cd ..", + "build-scratch-gui": "cd scratch-gui && npm install && npm run build && cd ..", "preview": "vite preview", "lint": "eslint . --fix --ignore-path .gitignore", - "deploy":"npm run build-scratch-gui && npm run build" + "deploy": "npm run build-scratch-gui && npm run build", + "install": "npm install && npm install -C /scratch-gui" }, "dependencies": { "@mdi/font": "7.4.47", @@ -35,6 +36,7 @@ "eslint-plugin-promise": "^6.4.0", "eslint-plugin-vue": "^9.27.0", "pinia": "^2.1.7", + "rollup-plugin-copy": "^3.5.0", "sass": "1.77.6", "unplugin-auto-import": "^0.17.6", "unplugin-fonts": "^1.1.1", @@ -43,7 +45,6 @@ "vite": "^5.3.3", "vite-plugin-vue-layouts": "^0.11.0", "vite-plugin-vuetify": "^2.0.3", - "vue-router": "^4.4.0", - "rollup-plugin-copy": "^3.5.0" + "vue-router": "^4.4.0" } }