From ef3def16d0be99754ae2b594aae47f1e6ca10fd6 Mon Sep 17 00:00:00 2001 From: HPCesia Date: Sat, 19 Oct 2024 18:25:29 +0800 Subject: [PATCH] Update package name, README, and repository info --- README.md | 2 +- README_zh-CN.md | 2 +- package.json | 15 +++++++++++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ba04aef..748169c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Hexo v7.0.0+ is required. ## Installation and Configuration First, install the plugin: ```shell -npm install hexo-highlight-shiki --save +npm install hexo-highlighter-shiki --save ``` Then switch the code highlighting engine in your `config.yml`: diff --git a/README_zh-CN.md b/README_zh-CN.md index 3f25ea2..a99e661 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -13,7 +13,7 @@ ## 安装与配置 首先,安装本插件: ```shell -npm install hexo-highlight-shiki --save +npm install hexo-highlighter-shiki --save ``` 然后在 `config.yml` 中切换代码高亮引擎: diff --git a/package.json b/package.json index 5b1b2f5..ead4467 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,25 @@ { - "name": "hexo-highlight-shiki", + "name": "hexo-highlighter-shiki", "version": "1.0.0", "description": "A package for Hexo which use Shiki to render code highlight.", "main": "dist/index.js", + "files": [ + "dist", + "LICENSE", + "README.md", + "README_zh-CN.md", + "package.json" + ], "scripts": { "build": "node ./build.mjs" }, "repository": { "type": "git", - "url": "git+https://github.com/HPCesia/hexo-highlight-shiki.git" + "url": "git+https://github.com/HPCesia/hexo-highlighter-shiki.git" + }, + "homepage": "https://github.com/HPCesia/hexo-highlighter-shiki", + "bugs": { + "url": "https://github.com/HPCesia/hexo-highlighter-shiki/issues" }, "keywords": [ "hexo",