whoami1337 1 year ago
parent
commit
61804997b5
1 changed files with 9 additions and 3 deletions
  1. 9 3
      package.json

+ 9 - 3
package.json

@@ -2,13 +2,19 @@
   "name": "qf-types",
   "version": "1.0.0",
   "description": "Global package for about interfaces, types.",
-  "main": "dist/index.js",
-  "types": "dist/index.d.ts",
+  "files": ["dist"],
+  "main": "./dist/index.js",
+  "module": "./dist/index.js",
+  "types": "./dist/index.d.ts",
+  "exports":{
+    ".": {
+      "import": "./dist/index.js"
+    }
+  }
   "repository": "https://git.ali33.ru/s4z/qf-types.git",
   "author": "0xJS",
   "license": "MIT",
   "devDependencies": {
     "typescript": "^5.0.4"
   }
-  
 }