fix(package): Add package exports entry and remove legacy main/typings fields

This commit is contained in:
2025-11-28 09:37:32 +00:00
parent 12f1630adf
commit 8ee45c5646
3 changed files with 11 additions and 3 deletions

View File

@@ -3,8 +3,9 @@
"version": "7.0.4",
"private": false,
"description": "An advanced library for NoSQL data organization and manipulation using TypeScript with support for MongoDB, data validation, collections, and custom data types.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"exports": {
".": "./dist_ts/index.js"
},
"type": "module",
"scripts": {
"test": "tstest test/ --verbose --logfile --timeout 120",