From a0a18280bd3425c6d404d050e7f014f659a7b735 Mon Sep 17 00:00:00 2001 From: xiazeyu_2011 Date: Fri, 30 Mar 2018 22:15:14 +0800 Subject: [PATCH] docs: fix typo --- README.md | 4 ++-- README.zh-CN.md | 4 ++-- package-lock.json | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 121686e..639a7cf 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ An Example: live2d: enable: true scriptFrom: local - onSiteRootPath: live2dw/ + pluginRootPath: live2dw/ pluginJsPath: lib/ pluginModelPath: assets/ model: @@ -85,7 +85,7 @@ You can merge these two into your `_config.yml` file. live2d: enable: true # enable: false - onSiteRootPath: live2dw/ # Root path of plugin to be on the site (Relative) + pluginRootPath: live2dw/ # Root path of plugin to be on the site (Relative) pluginJsPath: lib/ # JavaScript path related to plugin's root (Relative) pluginModelPath: assets/ # Relative model path related to plugin's root (Relative) scriptFrom: local # Default diff --git a/README.zh-CN.md b/README.zh-CN.md index d5ff29c..40f0181 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -58,7 +58,7 @@ npm install --save hexo-helper-live2d live2d: enable: true scriptFrom: local - onSiteRootPath: live2dw/ + pluginRootPath: live2dw/ pluginJsPath: lib/ pluginModelPath: assets/ model: @@ -84,7 +84,7 @@ live2d: enable: true # enable: false scriptFrom: local # 默认 - onSiteRootPath: live2dw/ # 插件在站点上的根目录(相对路径) + pluginRootPath: live2dw/ # 插件在站点上的根目录(相对路径) pluginJsPath: lib/ # 脚本文件相对与插件根目录路径 pluginModelPath: assets/ # 模型文件相对与插件根目录路径 # scriptFrom: jsdelivr # jsdelivr CDN diff --git a/package-lock.json b/package-lock.json index f6efc56..7badefc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "hexo-helper-live2d", - "version": "3.0.1", + "version": "3.0.2-beta.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -911,7 +911,7 @@ "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==", "optional": true, "requires": { - "nan": "2.8.0", + "nan": "2.10.0", "node-pre-gyp": "0.6.39" }, "dependencies": { @@ -2255,9 +2255,9 @@ } }, "nan": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz", - "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", + "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==", "optional": true }, "natural-compare": {