added exports in package json

This commit is contained in:
2025-10-10 12:17:22 -05:00
parent 2e5c46be8c
commit 40943b6055

View File

@@ -5,6 +5,13 @@
"main": "dist/src/index.js", "main": "dist/src/index.js",
"types": "dist/src/index.d.ts", "types": "dist/src/index.d.ts",
"type": "commonjs", "type": "commonjs",
"exports": {
".": {
"import": "./dist/src/index.js",
"require": "./dist/src/index.js",
"types": "./dist/src/index.d.ts"
}
},
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:watch": "tsc --watch", "build:watch": "tsc --watch",