Просмотр исходного кода

Point to correct location for TypeScript definitions

See https://github.com/solana-program/create-solana-program/pull/18
Loris Leiva 1 год назад
Родитель
Сommit
e1ce10346a
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      clients/js/package.json

+ 4 - 4
clients/js/package.json

@@ -3,12 +3,12 @@
   "version": "0.1.0",
   "description": "JavaScript client for the System program",
   "sideEffects": false,
-  "module": "dist/src/index.mjs",
-  "main": "dist/src/index.js",
-  "types": "dist/types/index.d.ts",
+  "module": "./dist/src/index.mjs",
+  "main": "./dist/src/index.js",
+  "types": "./dist/types/src/index.d.ts",
   "exports": {
     ".": {
-      "types": "./dist/src/index.d.ts",
+      "types": "./dist/types/src/index.d.ts",
       "import": "./dist/src/index.mjs",
       "require": "./dist/src/index.js"
     }