Skip to content

Commit c52ce57

Browse files
fix: add skypack recommended fields (#1791)
1 parent 4dae822 commit c52ce57

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

package.json

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
"repository": "https://github.com/nextauthjs/next-auth.git",
77
"author": "Iain Collins <[email protected]>",
88
"main": "index.js",
9+
"types": "./index.d.ts",
10+
"keywords": ["react", "nodejs", "oauth", "jwt", "oauth2", "authentication", "nextjs", "csrf", "oidc", "nextauth"],
11+
"exports": {
12+
".": "./dist/server/index.js",
13+
"./jwt": "./dist/lib/jwt.js",
14+
"./adapters": "./dist/adapters/index.js",
15+
"./client": "./dist/client/index.js",
16+
"./providers": "./dist/providers/index.js",
17+
"./providers/*": "./dist/providers/*.js"
18+
},
919
"scripts": {
1020
"build": "npm run build:js && npm run build:css",
1121
"build:js": "node ./config/build.js && babel --config-file ./config/babel.config.json src --out-dir dist",

0 commit comments

Comments
 (0)