whoami1337 1 år sedan
förälder
incheckning
61804997b5
1 ändrade filer med 9 tillägg och 3 borttagningar
  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"
   }
-  
 }