Include type declaration files and remove typically unnecessary dependencies.
[ldk-java] / ts / package.json
index eda6aec0c8ee49e39fe3f7caa8d784f89840a93f..c0d6959f080a4b3368961f7598f4afff65b09419 100644 (file)
@@ -2,19 +2,24 @@
   "name": "lightningdevkit",
   "version": "0.0.104.0alpha0",
   "description": "Lightning Development Kit",
-  "main": "index.mts",
+  "main": "index.mjs",
+  "type": "module",
   "directories": {
     "test": "test"
   },
   "files": [
-    "structs/*.mts",
-    "enums/*.mts",
-    "bindings.mts",
+    "structs/*.mjs",
+    "structs/*.d.mts",
+    "enums/*.mjs",
+    "enums/*.d.mts",
+    "bindings.mjs",
+    "bindings.d.mts",
     "liblightningjs.wasm",
     "tsconfig.json",
     "README.md",
-    "test/tests.mts",
-    "test/node.mjs"
+    "test/node.mjs",
+    "test/tests.mjs",
+    "test/tests.d.mts"
   ],
   "repository": {
     "type": "git",