diff --git a/package.json b/package.json index f305a2a..cb9b035 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,15 @@ "description": "Blind signatures over secp256k1, compatible with https://github.com/arnaucube/go-blindsecp256k1", "main": "dist/index", "types": "dist/index", + "exports": { + ".": { + "browser": { + "default": "./dist/blindsecp256k1-browser.js" + }, + "default": "./dist/index.js" + }, + "./package.json": "./package.json" + }, "scripts": { "prepublishOnly": "npm run build", "clean": "rimraf dist",