TypeScript rewrite

This commit is contained in:
Rob Moran
2018-01-05 20:42:03 +00:00
parent 30e871452d
commit 786991d4c7
18 changed files with 790 additions and 90 deletions

View File

@@ -5,7 +5,11 @@
"homepage": "https://github.com/thegecko/web-bluetooth-dfu",
"author": "Rob Moran <github@thegecko.org>",
"license": "MIT",
"main": "index.js",
"types": "./types/index.d.ts",
"main": "./lib/index.js",
"browser": {
"./lib/index.js": "./dist/secure-dfu.js"
},
"repository": {
"type": "git",
"url": "git://github.com/thegecko/web-bluetooth-dfu.git"
@@ -23,14 +27,29 @@
"gulp": "gulp",
"example": "node examples/node.js"
},
"engines": {
"node": ">=4.8.0"
},
"devDependencies": {
"@types/node": "^8.0.54",
"browserify": "^15.0.0",
"crc-32": "^1.0.2",
"del": "^3.0.0",
"gulp": "^3.9.1",
"gulp-eslint": "^3.0.1",
"gulp-sourcemaps": "^2.6.1",
"gulp-tslint": "^8.1.2",
"gulp-typescript": "^3.2.3",
"gulp-uglify": "^3.0.0",
"jszip": "^3.1.3",
"progress": "^2.0.0"
"merge2": "^1.2.0",
"progress": "^2.0.0",
"tslint": "^5.8.0",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^2.6.2",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0"
},
"dependencies": {
"webbluetooth": "^1.0.0"
"webbluetooth": "^1.0.1"
}
}