From f8eb958e9a33d1019969ac3e102e5595a8c0b08e Mon Sep 17 00:00:00 2001 From: zeorcpt Date: Mon, 22 Aug 2022 17:01:24 +0800 Subject: [PATCH] upd: package.json --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6a6f7d3..991bf99 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,12 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --mode development", "start": "npm run dev", "build": "vue-tsc --noEmit && vite build", + "build:dev": "vue-tsc --noEmit && vite build --mode development", + "build:test": "vue-tsc --noEmit && vite build --mode test", + "build:pro": "vue-tsc --noEmit && vite build --mode production", "preview": "vite preview", "lint": "eslint --ext .js,.vue,.ts src --fix" },