From 669fd9fed69e9f6873394fafec3cdd635e48cae0 Mon Sep 17 00:00:00 2001 From: cutestnekoaqua Date: Thu, 12 Jan 2023 20:40:15 +0100 Subject: [PATCH] feat: introduce devBuild --- package.json | 1 + packages/client/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index c50e057a6..420d8f451 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "scripts": { "rebuild": "yarn clean && yarn workspaces foreach run build && yarn run gulp", "build": "yarn workspaces foreach run build && yarn run gulp", + "devBuild": "yarn workspace backend run build && yarn workspace client run devBuild && yarn run gulp", "start": "yarn workspace backend run start", "start:test": "yarn workspace backend run start:test", "init": "yarn migrate", diff --git a/packages/client/package.json b/packages/client/package.json index d1ac4780c..72859cae5 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -4,6 +4,7 @@ "scripts": { "watch": "vite build --watch --mode development", "build": "vite build", + "devBuild": "vite build --mode development", "lint": "eslint --quiet \"src/**/*.{ts,vue}\"" }, "dependencies": {