diff --git a/package.json b/package.json index e8f3d8e94560819ad7b43310b889f3b0b4e62411..9adb39fefcaa6a5361a1c3d79f10485ce6320b49 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