whoami1337 1 年間 前
コミット
61804997b5
1 ファイル変更9 行追加3 行削除
  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"
   }
-  
 }