From e7b3ad764659e6f9c756e10d23b62beb1cd4d283 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Wed, 16 Nov 2022 22:19:40 +0800 Subject: [PATCH] update main in package.json (#291) * update main in package.json * remove directories in package.json --- package.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 869d620a..659e81a2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "hexo-util", "version": "3.0.0", "description": "Utilities for Hexo.", - "main": "lib/index", + "main": "dist/index", "scripts": { "prepublishOnly": "npm install && npm run clean && npm run build", "build": "tsc -b", @@ -15,10 +15,6 @@ "build:highlight": "node scripts/build_highlight_alias.js", "prepare": "npm run build:highlight" }, - "directories": { - "lib": "./lib", - "scripts": "./scripts" - }, "files": [ "dist/**", "scripts/",