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"