diff --git a/README.md b/README.md index 06f3760..3dc817b 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ ```bash # 安装依赖 -npm install --registry=https://registry.npmmirror.com +pnpm install --registry=https://registry.npmmirror.com # 启动服务 -npm run dev +pnpm dev # 构建生产环境 -npm run build:prod +pnpm build:prod # 前端访问地址 http://localhost:80 ``` diff --git a/package.json b/package.json index 2649be4..4910367 100644 --- a/package.json +++ b/package.json @@ -67,9 +67,12 @@ "vitest": "4.0.18", "vue-tsc": "^3.2.5" }, + "pnpm": { + "onlyBuiltDependencies": ["@parcel/watcher", "es5-ext", "esbuild"] + }, "engines": { "node": ">=20.19.0", - "npm": ">=8.19.0" + "pnpm": ">=10.0.0" }, "browserslist": [ "Chrome >= 87",