From d8559218f4ad90ab9a5120f82e6ab0dfaa33312c Mon Sep 17 00:00:00 2001 From: ZhangKai Date: Tue, 22 Mar 2022 10:06:59 +0800 Subject: [PATCH] =?UTF-8?q?#1=20=E7=9B=AE=E5=BD=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 9 +++++---- ByteDanceVerify.html => seo/ByteDanceVerify.html | 0 .../google73113bc465d06f6b.html | 0 robots.txt => seo/robots.txt | 0 .../shenma-site-verification.txt | 0 .../sogousiteverification.txt | 0 6 files changed, 5 insertions(+), 4 deletions(-) rename ByteDanceVerify.html => seo/ByteDanceVerify.html (100%) rename google73113bc465d06f6b.html => seo/google73113bc465d06f6b.html (100%) rename robots.txt => seo/robots.txt (100%) rename shenma-site-verification.txt => seo/shenma-site-verification.txt (100%) rename sogousiteverification.txt => seo/sogousiteverification.txt (100%) diff --git a/package.json b/package.json index e8f3d8e..9adb39f 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,10 @@ { "scripts": { - "docs:dev": "yarn readme:copy && vuepress dev docs --no-cache", - "docs:build": "yarn readme:copy && vuepress build docs && yarn seo:copy", - "seo:copy": "cp ByteDanceVerify.html shenma-site-verification.txt sogousiteverification.txt google73113bc465d06f6b.html docs/.vuepress/dist", - "readme:copy": "cp -r README.md readme docs/ && cp -r README.md readme docs/en/" + "docs:dev": "yarn fix-memory-limit && yarn readme:copy && vuepress dev docs --no-cache", + "docs:build": "yarn fix-memory-limit && yarn readme:copy && vuepress build docs && yarn seo:copy", + "readme:copy": "cp -r README.md readme docs/ && cp -r README.md readme docs/en/", + "seo:copy": "cp -r seo/*.* docs/.vuepress/dist/", + "fix-memory-limit": "cross-env LIMIT=8192 increase-memory-limit" }, "devDependencies": { "vuepress": "^1.9.7", diff --git a/ByteDanceVerify.html b/seo/ByteDanceVerify.html similarity index 100% rename from ByteDanceVerify.html rename to seo/ByteDanceVerify.html diff --git a/google73113bc465d06f6b.html b/seo/google73113bc465d06f6b.html similarity index 100% rename from google73113bc465d06f6b.html rename to seo/google73113bc465d06f6b.html diff --git a/robots.txt b/seo/robots.txt similarity index 100% rename from robots.txt rename to seo/robots.txt diff --git a/shenma-site-verification.txt b/seo/shenma-site-verification.txt similarity index 100% rename from shenma-site-verification.txt rename to seo/shenma-site-verification.txt diff --git a/sogousiteverification.txt b/seo/sogousiteverification.txt similarity index 100% rename from sogousiteverification.txt rename to seo/sogousiteverification.txt -- GitLab