Added browser package.json entry

This commit is contained in:
Rob Moran
2018-01-06 01:27:37 +00:00
parent 94cb8b6c08
commit c2a6968a59
5 changed files with 85 additions and 441 deletions

View File

@@ -5,8 +5,11 @@
"homepage": "https://github.com/thegecko/web-bluetooth-dfu",
"author": "Rob Moran <github@thegecko.org>",
"license": "MIT",
"types": "./types/index.d.ts",
"main": "./lib/index.js",
"types": "./types/secure-dfu.d.ts",
"main": "./index.js",
"browser": {
"./index.js": "./dist/secure-dfu.js"
},
"repository": {
"type": "git",
"url": "git://github.com/thegecko/web-bluetooth-dfu.git"