From a073d25a184b55a2d1f94daf68b9ed5f64bc26bf Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 25 Feb 2022 13:23:31 +0100 Subject: [PATCH] Add browser entrypoint --- CHANGELOG.md | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee32ea1..c561ff6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added - Examples +- Browser entrypoint to package.json ### Changed - Update owncast.js to 5.* diff --git a/package.json b/package.json index f893545..3efed41 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "doipjs", "version": "0.14.0", "description": "Decentralized OpenPGP Identity Proofs library in Node.js", - "main": "src/index.js", + "main": "./src/index.js", + "browser": "./dist/doip.min.js", "dependencies": { "@openpgp/hkp-client": "^0.0.2", "@openpgp/wkd-client": "^0.0.3",