From e38a3fa4664b2b595e969b39f5df62e2d8fb666f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E4=BA=94?= Date: Sun, 19 Dec 2021 23:30:41 +0800 Subject: [PATCH] chore: bundle files has less size --- package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ae199ac..5e1059d 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { "name": "pm-keeper", - "version": "1.1.10", + "version": "1.1.11", "description": "package version keeper", "author": "liwuhou ", "license": "MIT", "main": "dist/index.js", - "module": "dist/index.mjs", - "types": "dist/index.d.ts", + "homepage": "https://github.com/liwuhou/pm-keeper#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/liwuhou/pm-keeper" + }, "files": [ "dist", "bin" @@ -15,7 +18,7 @@ "scripts": { "dev": "npm run build -- --watch", "prebuild": "rimraf dist", - "build": "tsup src --format cjs,esm,iife --dts" + "build": "tsup src --format iife --minify" }, "keywords": [ "npm",