From f2b08f621bc9f9fe7276051f0a168ecb33dbfbee Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 7 Mar 2023 13:41:02 +0100 Subject: [PATCH] fix(pkg): move `types` field to the first --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a6608a0b..9aed081b 100644 --- a/package.json +++ b/package.json @@ -7,19 +7,19 @@ "sideEffects": false, "exports": { "./drivers/*": { + "types": "./drivers/*.d.ts", "import": "./drivers/*.mjs", - "require": "./drivers/*.cjs", - "types": "./drivers/*.d.ts" + "require": "./drivers/*.cjs" }, ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", - "require": "./dist/index.cjs", - "types": "./dist/index.d.ts" + "require": "./dist/index.cjs" }, "./server": { + "types": "./dist/server.d.ts", "import": "./dist/server.mjs", - "require": "./dist/server.cjs", - "types": "./dist/server.d.ts" + "require": "./dist/server.cjs" } }, "main": "./dist/index.cjs",