From 56c6fea43d567e3436b3aa651801070aeb824782 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Mon, 4 Jan 2021 10:41:00 +0900 Subject: [PATCH] fix script --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 78832e89..3017a698 100644 --- a/package.json +++ b/package.json @@ -100,8 +100,8 @@ "build": "tsc --project ./tsconfig.build.json", "clean": "rimraf .nyc_output coverage dist docs/.vuepress/dist", "coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html", - "docs": "vuepress dev docs", - "docs:build": "vuepress build docs", + "docs": "npm run build && vuepress dev docs", + "docs:build": "npm run build && vuepress build docs", "generate": "ts-node scripts/update.ts", "lint": "eslint --ext js,ts lib scripts tests/lib docs/.vuepress --ignore-pattern \"!.*\"", "lint:docs": "eslint --ext js,vue,md docs --ignore-pattern \"!.*\"",