diff --git a/package.json b/package.json index f858f1e..fae91e2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "clean": "npx fa clean --ignore-tips --dist --vite --all", "lint": "npx fa lint", "lint:fix": "npx fa lint --fix", - "dev": "npx vuepress dev docs", + "dev": "pnpm build:mark-map && npx vuepress dev docs", "build": "npx vuepress build docs --clean-temp --clean-cache", "build:proxy": "NEED_PROXY=true npx vuepress build docs --clean-temp --clean-cache", "build:mark-map": "./scripts/mark-map", diff --git a/scripts/dev b/scripts/dev deleted file mode 100755 index 320a3ae..0000000 --- a/scripts/dev +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env node -/** - * - * 本地启动 - * 例如: - * - ./scripts/dev - */ - -import {commandStandardExecutor} from '@142vip/utils' - -(async () => await commandStandardExecutor([ - 'pnpm build:mark-map', - 'pnpm dev' -]))()