fix: update package exports to include types

This commit is contained in:
Derrick Hammer 2023-06-28 00:50:11 -04:00
parent 62ec7db738
commit aae4acd6a7
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 12 additions and 4 deletions

View File

@ -5,10 +5,18 @@
"type": "module",
"types": "lib/index.d.ts",
"exports": {
".": "./lib/index.js",
"./kernel": "./lib/kernel/index.js",
"./module": "./lib/module/index.js",
"./package.json": "./package.json"
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./kernel": {
"import": "./lib/kernel/index.js",
"types": "./lib/kernel/index.d.ts"
},
"./module": {
"import": "./lib/module/index.js",
"types": "./lib/module/index.d.ts"
}
},
"repository": {
"type": "git",