From f3c16c5fbb335bbd5e7f9ce2b41924908f71c38c Mon Sep 17 00:00:00 2001 From: arvinxx Date: Sun, 3 Sep 2023 14:52:40 +0800 Subject: [PATCH] :hammer: chore: update script --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c930832..7d92119 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "homepage": "https://github.com/lobehub/chat-plugin-realtime-weather", "repository": "https://github.com/lobehub/chat-plugin-realtime-weather.git", "scripts": { - "build": "next build", + "build": "npm run docs:build && next build", "ci": "npm run lint && npm run type-check", "dev": "next dev -p 3410", - "docs:build": "npm run build --prefix ./docs", + "docs:build": "cd docs && npm run build", "docs:dev": "npm run dev --prefix ./docs", "lint": "npm run lint:js && npm run lint:prettier", "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",