UNPKG

munim-bluetooth-peripheral

Version:

A React Native library for creating Bluetooth Low Energy (BLE) peripheral devices with comprehensive advertising data support and Expo support

212 lines (211 loc) 5.14 kB
{ "name": "munim-bluetooth-peripheral", "version": "0.4.2", "description": "A React Native library for creating Bluetooth Low Energy (BLE) peripheral devices with comprehensive advertising data support and Expo support", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "source": "./src/index.tsx", "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", ".github", "LICENSE", "README.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "tsconfig.json", "babel.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "USAGE_EXAMPLES.md", "!**/__fixtures__", "!**/__mocks__", "!.yarn", "!.yarnrc.yml", "!.git", "!.gitignore", "!.eslintrc.js", "!.DS_Store", "!lefthook.yml", "!turbo.json", "!tsconfig.build.json", "!yarn.lock" ], "scripts": { "example": "yarn workspace munim-bluetooth-peripheral-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it --only-version", "build": "tsc -p tsconfig.build.json" }, "keywords": [ "react-native", "expo", "bluetooth", "ble", "peripheral", "gatt", "bluetooth-low-energy", "ios", "android", "typescript", "fabric", "munim-technologies" ], "repository": { "type": "git", "url": "git+https://github.com/munimtechnologies/munim-bluetooth-peripheral.git" }, "author": "sheehanmunim <support@munimtech.com> (https://github.com/sheehanmunim)", "license": "MIT", "bugs": { "url": "https://github.com/munimtechnologies/munim-bluetooth-peripheral/issues" }, "homepage": "https://github.com/munimtechnologies/munim-bluetooth-peripheral#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.6.0", "@eslint/compat": "1", "@eslint/eslintrc": "2", "@eslint/js": "8", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "15.0.0-alpha.2", "@react-native/babel-preset": "0.79.2", "@react-native/codegen": "^0.80.1", "@react-native/eslint-config": "^0.80.1", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^19.0.0", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "@typescript-eslint/project-service": "^8.38.0", "@typescript-eslint/tsconfig-utils": "^8.38.0", "commitlint": "^19.6.1", "del-cli": "^5.1.0", "eslint": "8", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-prettier": "^5.5.3", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "19.0.0", "react-native": "0.79.2", "react-native-builder-bob": "^0.40.13", "react-native-codegen": "^0.70.7", "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "^5.8.3" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" } } } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "BluetoothPeripheralSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.bluetoothperipheral" } }, "create-react-native-library": { "languages": "kotlin-objc", "type": "turbo-module", "version": "0.52.0" }, "expo": { "name": "munim-bluetooth-peripheral", "platforms": [ "ios", "android" ], "install": { "exclude": [ "react-native" ] } } }