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", "type": "module",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"exports": { "exports": {
".": "./lib/index.js", ".": {
"./kernel": "./lib/kernel/index.js", "import": "./lib/index.js",
"./module": "./lib/module/index.js", "types": "./lib/index.d.ts"
"./package.json": "./package.json" },
"./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": { "repository": {
"type": "git", "type": "git",