From 893c306feb42818a0a86bc9b8732b27101fabe99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 20 Apr 2021 22:32:30 +0200 Subject: [PATCH] fix: add skypack recommended fields --- package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package.json b/package.json index c67c37c96d..83e6e4b4e8 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,16 @@ "repository": "https://github.com/nextauthjs/next-auth.git", "author": "Iain Collins ", "main": "index.js", + "types": "./index.d.ts", + "keywords": ["react", "nodejs", "oauth", "jwt", "oauth2", "authentication", "nextjs", "csrf", "oidc", "nextauth"], + "exports": { + ".": "./dist/server/index.js", + "./jwt": "./dist/lib/jwt.js", + "./adapters": "./dist/adapters/index.js", + "./client": "./dist/client/index.js", + "./providers": "./dist/providers/index.js", + "./providers/*": "./dist/providers/*.js" + }, "scripts": { "build": "npm run build:js && npm run build:css", "build:js": "node ./config/build.js && babel --config-file ./config/babel.config.json src --out-dir dist",