Skip to content

Commit 60bd19d

Browse files
committed
Wallet: align cjs/esm build
1 parent 9e88a82 commit 60bd19d

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

packages/wallet/package.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "ethereumjs-wallet",
3-
"version": "1.0.2",
2+
"name": "@ethereumjs/wallet",
3+
"version": "2.0.0",
44
"description": "Utilities for handling Ethereum keys",
55
"keywords": [
66
"ethereum",
@@ -17,13 +17,17 @@
1717
},
1818
"license": "MIT",
1919
"author": "Alex Beregszaszi <[email protected]>",
20-
"main": "dist/index.js",
21-
"types": "dist/index.d.ts",
22-
"browser": "dist.browser/index.js",
20+
"main": "dist/cjs/index.js",
21+
"module": "dist/esm/index.js",
22+
"exports": {
23+
".": {
24+
"import": "./dist/esm/index.js",
25+
"require": "./dist/cjs/index.js"
26+
}
27+
},
2328
"files": [
2429
"src",
25-
"dist",
26-
"dist.browser"
30+
"dist"
2731
],
2832
"scripts": {
2933
"build": "../../config/cli/ts-build.sh",

0 commit comments

Comments
 (0)