From 339515010ccd95a2f952dbe65f8366463f94d26a Mon Sep 17 00:00:00 2001 From: Numan <36044436+nomi9995@users.noreply.github.com> Date: Sun, 13 Feb 2022 21:51:04 +0500 Subject: [PATCH] fix: add `package.json` to exports (#1059) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Iiro Jäppinen --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ffdaede8a..dfbc35936 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,10 @@ }, "type": "module", "bin": "./bin/lint-staged.js", - "exports": "./lib/index.js", + "exports": { + ".": "./lib/index.js", + "./package.json": "./package.json" + }, "files": [ "bin", "lib"