You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2020/10/14 07:03:20 UTC
[iotdb] 01/01: try to fix site
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch try_to_fix_site
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 86bf51404fe9114bcae5c62319047c84473d5915
Author: HTHou <hh...@outlook.com>
AuthorDate: Wed Oct 14 15:02:30 2020 +0800
try to fix site
---
site/src/main/package.json | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/site/src/main/package.json b/site/src/main/package.json
index 9d00a05..b427471 100644
--- a/site/src/main/package.json
+++ b/site/src/main/package.json
@@ -4,9 +4,10 @@
"description": "Apache IoTDB Website",
"main": "index.js",
"scripts": {
- "dev": "node --max_old_space_size=8000 ./node_modules/vuepress/cli.js dev src",
- "build": "node --max_old_space_size=8000 ./node_modules/vuepress/cli.js build src",
- "deploy": "node --max_old_space_size=8000 deploy.js"
+ "fix-memory-limit": "cross-env LIMIT=2048 increase-memory-limit"
+ "dev": "node --max-old-space-size=8000 ./node_modules/vuepress/cli.js dev src",
+ "build": "node --max-old-space-size=8000 ./node_modules/vuepress/cli.js build src",
+ "deploy": "node --max-old-space-size=8000 deploy.js"
},
"repository": {
"type": "git",
@@ -39,5 +40,7 @@
"vue-tabs-component": "^1.5.0",
"vuepress": "^1.5.0",
"vuepress-plugin-tabs": "^0.3.0"
+ "increase-memory-limit": "^1.0.7",
+ "cross-env": "^5.0.5"
}
}