Skip to content

Commit

Permalink
Merge pull request #171 from drichar/fix/esm-migration
Browse files Browse the repository at this point in the history
fix(build): complete ESM migration in package.json
  • Loading branch information
yigitguler authored Jan 9, 2025
2 parents 60987f9 + d354d49 commit 778bf28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
File renamed without changes.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
"version": "1.4.0",
"name": "@perawallet/connect",
"description": "JavaScript SDK for integrating Pera Wallet to web applications.",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"module": "dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "./node_modules/.bin/rollup -c -w",
"build": "npm run eslint && ./node_modules/.bin/rollup -c",
Expand Down Expand Up @@ -45,7 +53,6 @@
"peerDependencies": {
"algosdk": "^3.0.0"
},
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/perawallet/connect.git"
Expand Down

0 comments on commit 778bf28

Please sign in to comment.