From 9c9cce00eae47e7a3ef2713ade236a77d2e7e3f3 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 5 Apr 2022 09:52:38 +0800 Subject: [PATCH] chore: should publish README to npm (#10470) --- packages/vant/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/package.json b/packages/vant/package.json index f5f20660d..6c72c8bf9 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -35,7 +35,7 @@ "test": "vant-cli test", "build": "vant-cli build", "build:site": "vant-cli build-site", - "release": "vant-cli release", + "release": "cp ../../README.md ./ && vant-cli release && rm ./README.md", "release:site": "pnpm build:site && gh-pages -d site-dist --add", "test:watch": "vant-cli test --watch", "test:coverage": "open test/coverage/index.html"