Fixed node exports and refactored node example

This commit is contained in:
Rob Moran
2018-01-06 19:04:17 +00:00
parent c2a6968a59
commit d6529fc89c
4 changed files with 136 additions and 106 deletions

View File

@@ -5,7 +5,7 @@
"homepage": "https://github.com/thegecko/web-bluetooth-dfu",
"author": "Rob Moran <github@thegecko.org>",
"license": "MIT",
"types": "./types/secure-dfu.d.ts",
"types": "./types/index.d.ts",
"main": "./index.js",
"browser": {
"./index.js": "./dist/secure-dfu.js"