From da1efb7d17e31af89050b51112e0b1c210d86139 Mon Sep 17 00:00:00 2001 From: Zetazzz Date: Fri, 14 Feb 2025 15:09:51 +0800 Subject: [PATCH] fix packages.json --- packages/crypto/package.json | 12 +++--------- packages/math/package.json | 12 +++--------- packages/pubkey/package.json | 12 +++--------- 3 files changed, 9 insertions(+), 27 deletions(-) diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 4b35de48..854094f8 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -7,21 +7,15 @@ "Simon Warta" ], "license": "Apache-2.0", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist/", - "*.md", - "!*.spec.*", - "!**/testdata/" - ], + "main": "index.js", + "module": "esm/index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/hyperweb-io/interchainjs/tree/main/packages/crypto" }, "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org", "directory": "dist" }, "scripts": { diff --git a/packages/math/package.json b/packages/math/package.json index 859b46ad..c518ee1e 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -6,21 +6,15 @@ "IOV SAS " ], "license": "Apache-2.0", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist/", - "*.md", - "!*.spec.*", - "!**/testdata/" - ], + "main": "index.js", + "module": "esm/index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/hyperweb-io/interchainjs/tree/main/packages/math" }, "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org", "directory": "dist" }, "scripts": { diff --git a/packages/pubkey/package.json b/packages/pubkey/package.json index ab039525..d5752a71 100644 --- a/packages/pubkey/package.json +++ b/packages/pubkey/package.json @@ -6,21 +6,15 @@ "IOV SAS " ], "license": "Apache-2.0", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist/", - "*.md", - "!*.spec.*", - "!**/testdata/" - ], + "main": "index.js", + "module": "esm/index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/hyperweb-io/interchainjs/tree/main/packages/pubkey" }, "publishConfig": { "access": "public", - "registry": "https://registry.npmjs.org", "directory": "dist" }, "scripts": {