UNPKG

react-native-ble-nitro

Version:

High-performance React Native BLE library built on Nitro Modules

124 lines (123 loc) 3.49 kB
{ "name": "react-native-ble-nitro", "version": "1.9.2", "description": "High-performance React Native BLE library built on Nitro Modules", "main": "lib/index.js", "types": "lib/index.d.ts", "react-native": "src/index.ts", "source": "src/index.ts", "exports": { ".": { "react-native": "./src/index.ts", "typescript": "./src/index.ts", "import": "./lib/index.js", "require": "./lib/commonjs/index.js", "types": "./lib/index.d.ts", "default": "./src/index.ts" }, "./manager": { "react-native": "./src/manager.ts", "typescript": "./src/manager.ts", "import": "./lib/manager.js", "require": "./lib/commonjs/manager.js", "types": "./lib/manager.d.ts", "default": "./src/manager.ts" }, "./singleton": { "react-native": "./src/singleton.ts", "typescript": "./src/singleton.ts", "import": "./lib/singleton.js", "require": "./lib/commonjs/singleton.js", "types": "./lib/singleton.d.ts", "default": "./src/singleton.ts" }, "./plugin": { "import": "./plugin/build/index.js", "require": "./plugin/build/index.js", "types": "./plugin/build/index.d.ts", "default": "./plugin/build/index.js" }, "./app.plugin.js": "./app.plugin.cjs", "./package.json": "./package.json" }, "scripts": { "build": "npm run clean && npm run nitro-codegen && npm run build:plugin && npm run build:esm && npm run build:commonjs", "build:esm": "tsc", "build:commonjs": "tsc --project tsconfig.commonjs.json", "build:plugin": "tsc --project plugin/tsconfig.json", "prepublishOnly": "npm run build && npm run test", "nitro-codegen": "nitrogen src", "clean": "rimraf lib && rimraf plugin/build && rimraf nitrogen/generated", "test": "jest", "lint": "eslint src/ --ext .ts,.tsx", "typecheck": "tsc --noEmit", "prepack": "npm run build", "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": { "@expo/config-plugins": "^54.0.2", "@types/jest": "^29.5.0", "@types/node": "^20.19.21", "@types/react": "^19.2.2", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.0.0", "expo-module-scripts": "^5.0.7", "jest": "^29.0.0", "nitrogen": "^0.30.0", "react-native": "^0.81.4", "react-native-nitro-modules": "^0.30.0", "rimraf": "^6.0.1", "ts-jest": "^29.4.5", "typescript": "^5.9.3" }, "files": [ "lib/", "src/", "ios/", "android/", "nitrogen/generated/", "plugin/build", "app.plugin.cjs", "nitro.json", "react-native.config.js", "README.md", "LICENSE", "BleNitro.podspec" ], "expo": { "platforms": [ "ios", "android" ] } }