UNPKG

react-native-ble-nitro

Version:

High-performance React Native BLE library built on Nitro Modules - drop-in replacement for react-native-ble-plx

103 lines (102 loc) 2.66 kB
{ "name": "react-native-ble-nitro", "version": "1.0.0-alpha.1", "description": "High-performance React Native BLE library built on Nitro Modules - drop-in replacement for react-native-ble-plx", "main": "lib/index.js", "types": "lib/index.d.ts", "react-native": "src/index.ts", "source": "src/index.ts", "exports": { ".": { "react-native": "./src/index.ts", "import": "./lib/index.js", "require": "./lib/index.js", "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./plugin": { "import": "./plugin/build/index.js", "require": "./plugin/build/index.js", "types": "./plugin/build/index.d.ts", "default": "./plugin/build/index.js" }, "./package.json": "./package.json" }, "scripts": { "build": "npm run clean && npm run build:plugin && tsc", "build:plugin": "tsc --project plugin/tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm run build && npm run test", "nitro-codegen": "nitro-codegen generate", "clean": "rm -rf lib && rm -rf plugin/build", "test": "jest", "lint": "eslint src/ --ext .ts,.tsx", "typecheck": "tsc --noEmit", "version": "npm run build", "postversion": "git push && git push --tags" }, "keywords": [ "react-native", "bluetooth", "ble", "bluetooth-low-energy", "nitro-modules", "expo", "ios", "android", "performance" ], "author": "Zyke (https://zyke.co)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/zykeco/react-native-ble-nitro.git" }, "homepage": "https://github.com/zykeco/react-native-ble-nitro#readme", "bugs": { "url": "https://github.com/zykeco/react-native-ble-nitro/issues" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { "react-native": ">=0.76.0", "react-native-nitro-modules": "*" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@types/react": "^18.2.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.0.0", "expo": "^52.0.47", "jest": "^29.0.0", "nitro-codegen": "^0.26.4", "react-native": "^0.76.0", "ts-jest": "^29.4.0", "typescript": "^5.0.0" }, "files": [ "lib/", "src/", "ios/", "android/", "plugin/build/", "nitro.json", "react-native.config.js", "README.md", "LICENSE" ], "expo": { "platforms": [ "ios", "android" ] }, "codegenConfig": { "name": "BleNitroSpec", "type": "modules", "jsSrcsDir": "src" } }