From 5cb12cc5a01163966d506c7ee3c1b6c88c174ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Mon, 18 Jul 2022 12:31:15 +0800 Subject: [PATCH] fix: export package.json (fixes #270) (#271) --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 48ea7157..83257e6f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,10 @@ "description": "An ESLint plugin for linting ESLint plugins", "author": "Teddy Katz", "main": "./lib/index.js", - "exports": "./lib/index.js", + "exports": { + ".": "./lib/index.js", + "./package.json": "./package.json" + }, "license": "MIT", "scripts": { "generate-readme-table": "node build/generate-readme-table.js",