UNPKG

webbluetooth

Version:

Node.js implementation of the Web Bluetooth Specification

61 lines (60 loc) 1.83 kB
{ "name": "webbluetooth", "description": "Node.js implementation of the Web Bluetooth Specification", "license": "MIT", "version": "3.3.2", "main": "dist/index.js", "browser": "dist/browser.js", "author": "Rob Moran <rob@thegecko.org>", "engines": { "node": ">=10.20.0 <11.x || >=12.17.0 <13.0 || >=14.0.0" }, "repository": { "type": "git", "url": "git://github.com/thegecko/webbluetooth.git" }, "keywords": [ "web-bluetooth", "webbluetooth", "ble", "bluetooth" ], "scripts": { "install": "pkg-prebuilds-verify ./binding-options.js || cmake-js compile", "clean": "yarn clean:cpp && yarn clean:ts", "clean:cpp": "cmake-js clean && git clean -fx ./prebuilds", "clean:ts": "git clean -fx ./dist ./docs", "build:all": "yarn build:cpp && yarn build:ts", "build:cpp": "cmake-js compile", "build:ts": "tsc && yarn lint && yarn docs", "rebuild": "cmake-js rebuild", "watch": "tsc -w --preserveWatchOutput", "lint": "eslint . --ext .ts", "test": "mocha --timeout 10000 test/*.test.js", "docs": "typedoc", "prebuild": "pkg-prebuilds-copy --baseDir build/Release --source simpleble.node --name=simpleble --strip --napi_version=6", "prepublishOnly": "prebuildify-ci download", "prebuild-download": "prebuildify-ci download" }, "dependencies": { "cmake-js": "^7.3.0", "node-addon-api": "^8.0.0", "pkg-prebuilds": "^1.0.0" }, "devDependencies": { "@types/node": "^22.0.0", "@types/web-bluetooth": "^0.0.21", "@typescript-eslint/eslint-plugin": "^7.10.0", "@typescript-eslint/parser": "^7.10.0", "eslint": "^8.57.0", "mocha": "^11.0.1", "prebuildify-ci": "^1.0.5", "typedoc": "^0.27.2", "typescript": "^5.4.5" }, "binary": { "napi_versions": [ 6 ] } }