From b32053b2ec0b8d979bee69e5f6dcdc1ba65a0864 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sun, 12 Sep 2021 22:26:37 +0800 Subject: [PATCH] doc: update site script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2815b57fd..266d095a0 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "routes": "node site/scripts/genrateRoutes.js", "tsc": "tsc --noEmit", "site": "yarn routes && ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/", - "pub:site": "npm run site && node scripts/pushToOSS.js" + "pub:site": "npm run site && node site/scripts/pushToOSS.js" }, "repository": { "type": "git", @@ -114,6 +114,7 @@ "@vue/test-utils": "^2.0.0-0", "@webpack-cli/serve": "^1.3.1", "acorn": "^8.0.0", + "ali-oss": "^6.16.0", "autoprefixer": "^10.2.0", "axios": "^0.21.0", "babel-eslint": "^10.0.1",